public abstract class BaseBinaryMessageReader extends Object implements MessageReader
MessageReader implementation for a binary message| Constructor and Description |
|---|
BaseBinaryMessageReader() |
| Modifier and Type | Method and Description |
|---|---|
Encoding |
getEncoding() |
<T> T |
read(StructuredMessageWriter<T> writer)
Read the message as structured encoded message using the provided writer
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, read, read, toEvent, toEventfrom, frompublic Encoding getEncoding()
getEncoding in interface MessageReaderpublic <T> T read(StructuredMessageWriter<T> writer) throws CloudEventRWException, IllegalStateException
MessageReaderread in interface MessageReaderread in interface StructuredMessageReaderT - the return type of the StructuredMessageWriterwriter - Structured Message writerStructuredMessageWriter.setEvent(EventFormat, byte[])CloudEventRWException - if something went wrong during the visit.IllegalStateException - if the message is not in structured encoding.Copyright © 2024. All rights reserved.