Class CloudEventReaderAdapter

java.lang.Object
io.cloudevents.core.impl.CloudEventContextReaderAdapter
io.cloudevents.core.impl.CloudEventReaderAdapter
All Implemented Interfaces:
io.cloudevents.rw.CloudEventContextReader, io.cloudevents.rw.CloudEventReader

public class CloudEventReaderAdapter extends CloudEventContextReaderAdapter implements io.cloudevents.rw.CloudEventReader
  • Constructor Details

    • CloudEventReaderAdapter

      public CloudEventReaderAdapter(io.cloudevents.CloudEvent event)
  • Method Details

    • read

      public <V extends io.cloudevents.rw.CloudEventWriter<R>, R> R read(io.cloudevents.rw.CloudEventWriterFactory<V,R> writerFactory, io.cloudevents.rw.CloudEventDataMapper<? extends io.cloudevents.CloudEventData> mapper) throws RuntimeException
      Specified by:
      read in interface io.cloudevents.rw.CloudEventReader
      Throws:
      RuntimeException