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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V extends io.cloudevents.rw.CloudEventWriter<R>,R>
Rread(io.cloudevents.rw.CloudEventWriterFactory<V, R> writerFactory, io.cloudevents.rw.CloudEventDataMapper<? extends io.cloudevents.CloudEventData> mapper) Methods inherited from class io.cloudevents.core.impl.CloudEventContextReaderAdapter
readAttributes, readContext, readExtensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.cloudevents.rw.CloudEventReader
read
-
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:
readin interfaceio.cloudevents.rw.CloudEventReader- Throws:
RuntimeException
-