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