ByteBuffers.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canDecode(ResolvableType
the target element type for the output stream elementType, MimeType the mime type associated with the stream to decode
(can be mimeType)null if not specified)Overrides org. Implements org. |
| public ByteBuffer | decode(DataBuffer
the dataBuffer, ResolvableType DataBuffer to decodethe expected output type elementType, MimeType the MIME type associated with the data mimeType, Map<String, Object> additional information about how to do decode hints)Overrides default org. |
| ByteBufferDecoder | back to summary |
|---|---|
| public ByteBufferDecoder() | |
| canDecode | back to summary |
|---|---|
| public boolean canDecode(ResolvableType elementType, MimeType mimeType) Overrides org. Implements org. Doc from org. Whether the decoder supports the given target element type and the MIME type of the source stream.
| |
| decode | back to summary |
|---|---|
| public ByteBuffer decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Overrides default org. Doc from org. Decode a data buffer to an Object of type T. This is useful for scenarios, that distinct messages (or events) are decoded and handled individually, in fully aggregated form.
| |