public abstract class BaseStructuredMessageReader extends Object implements MessageReader
MessageReader implementation for a structured message| Constructor and Description |
|---|
BaseStructuredMessageReader() |
| Modifier and Type | Method and Description |
|---|---|
Encoding |
getEncoding() |
<V extends CloudEventWriter<R>,R> |
read(CloudEventWriterFactory<V,R> writerFactory,
CloudEventDataMapper<? extends CloudEventData> mapper)
Read the message as binary encoded message using the provided writer factory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, read, read, toEvent, toEventfrom, frompublic Encoding getEncoding()
getEncoding in interface MessageReaderpublic <V extends CloudEventWriter<R>,R> R read(CloudEventWriterFactory<V,R> writerFactory, CloudEventDataMapper<? extends CloudEventData> mapper)
MessageReaderread in interface MessageReaderread in interface CloudEventReaderV - the CloudEventWriter typeR - the return type of the CloudEventWriterwriterFactory - a factory that generates a reader starting from the SpecVersion of the eventmapper - the mapper to use to map the data, if any.Copyright © 2024. All rights reserved.