Class ContentCodecToBufferDecoder
java.lang.Object
io.servicetalk.encoding.api.internal.ContentCodecToBufferDecoder
- All Implemented Interfaces:
BufferDecoder
Deprecated.
Convert from
ContentCodec to BufferDecoder.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptiondecoder()Deprecated.Get theDeserializerto use for aggregated content.Deprecated.Get the name of the encoding.Deprecated.Get theStreamingDeserializerto use for streaming content.
-
Constructor Details
-
ContentCodecToBufferDecoder
Deprecated.Create a new instance.- Parameters:
codec- The codec to convert.
-
-
Method Details
-
decoder
Deprecated.Description copied from interface:BufferDecoderGet theDeserializerto use for aggregated content.- Specified by:
decoderin interfaceBufferDecoder- Returns:
- the
Deserializerto use for aggregated content.
-
streamingDecoder
Deprecated.Description copied from interface:BufferDecoderGet theStreamingDeserializerto use for streaming content.- Specified by:
streamingDecoderin interfaceBufferDecoder- Returns:
- the
StreamingDeserializerto use for streaming content.
-
encodingName
Deprecated.Description copied from interface:BufferDecoderGet the name of the encoding.- Specified by:
encodingNamein interfaceBufferDecoder- Returns:
- the name of the encoding.
-
BufferDecoder. This type will be removed along withContentCodec.