Package io.servicetalk.encoding.api
Interface BufferDecoderGroup
- All Known Implementing Classes:
EmptyBufferDecoderGroup
public interface BufferDecoderGroup
A group of
BufferDecoder
s used when multiple options may be supported.-
Method Summary
Modifier and TypeMethodDescriptionGet the combined encoding to advertise.decoders()
Get the supportedBufferDecoder
for this group.
-
Method Details
-
decoders
List<BufferDecoder> decoders()Get the supportedBufferDecoder
for this group.- Returns:
- the supported
BufferDecoder
for this group.
-
advertisedMessageEncoding
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.- 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.
-