public abstract class BaseBinaryMessageReader extends Object implements MessageReader
| Constructor and Description |
|---|
BaseBinaryMessageReader() |
| Modifier and Type | Method and Description |
|---|---|
Encoding |
getEncoding() |
<T> T |
read(StructuredMessageWriter<T> visitor)
Visit the message as structured encoded event using the provided visitor
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, readAttributes, readExtensions, toEvent, visitfrom, frompublic Encoding getEncoding()
getEncoding in interface MessageReaderpublic <T> T read(StructuredMessageWriter<T> visitor) throws CloudEventRWException, IllegalStateException
MessageReaderread in interface MessageReaderread in interface StructuredMessageReadervisitor - Structured Message visitorCloudEventRWException - if something went wrong during the visit.IllegalStateException - if the message is not in structured encoding.Copyright © 2020. All rights reserved.