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
-
Method Summary
Modifier and TypeMethodDescriptionGet the combined encoding to advertise.decoders()
Get the supportedBufferDecoder
for this group.
-
Field Details
-
INSTANCE
-
-
Method Details
-
decoders
Description copied from interface:BufferDecoderGroup
Get the supportedBufferDecoder
for this group.- Specified by:
decoders
in interfaceBufferDecoderGroup
- Returns:
- the supported
BufferDecoder
for this group.
-
advertisedMessageEncoding
Description copied from interface:BufferDecoderGroup
Get 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:
advertisedMessageEncoding
in 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.
-