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 theDeserializer
to use for aggregated content.Deprecated.Get the name of the encoding.Deprecated.Get theStreamingDeserializer
to 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:BufferDecoder
Get theDeserializer
to use for aggregated content.- Specified by:
decoder
in interfaceBufferDecoder
- Returns:
- the
Deserializer
to use for aggregated content.
-
streamingDecoder
Deprecated.Description copied from interface:BufferDecoder
Get theStreamingDeserializer
to use for streaming content.- Specified by:
streamingDecoder
in interfaceBufferDecoder
- Returns:
- the
StreamingDeserializer
to use for streaming content.
-
encodingName
Deprecated.Description copied from interface:BufferDecoder
Get the name of the encoding.- Specified by:
encodingName
in interfaceBufferDecoder
- Returns:
- the name of the encoding.
-
BufferDecoder
. This type will be removed along withContentCodec
.