Package io.servicetalk.encoding.api
Class EmptyBufferDecoderGroup
java.lang.Object
io.servicetalk.encoding.api.EmptyBufferDecoderGroup
- All Implemented Interfaces:
BufferDecoderGroup
A
BufferDecoderGroup which is empty.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the combined encoding to advertise.decoders()Get the supportedBufferDecoderfor this group.
-
Field Details
-
INSTANCE
-
-
Method Details
-
decoders
Description copied from interface:BufferDecoderGroupGet the supportedBufferDecoderfor this group.- Specified by:
decodersin interfaceBufferDecoderGroup- Returns:
- the supported
BufferDecoderfor this group.
-
advertisedMessageEncoding
Description copied from interface:BufferDecoderGroupGet the combined encoding to advertise. This is typically a combination ofBufferDecoder.encodingName()contained in this group. This value is commonly used inAccept-Encoding(or equivalent) metadata to advertise/communicate the supported algorithms.- Specified by:
advertisedMessageEncodingin interfaceBufferDecoderGroup- Returns:
- the combined encoding to advertise. This is typically a combination of
BufferDecoder.encodingName()contained in this group. This value is commonly used inAccept-Encoding(or equivalent) metadata to advertise/communicate the supported algorithms.
-