Class ContentCodecToBufferEncoder
java.lang.Object
io.servicetalk.encoding.api.internal.ContentCodecToBufferEncoder
- All Implemented Interfaces:
BufferEncoder
Deprecated.
Convert from
ContentCodec
to BufferEncoder
.-
Constructor Summary
ConstructorDescriptionDeprecated.Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionencoder()
Deprecated.Get theSerializer
to use for aggregated content.Deprecated.Get the name of the encoding.Deprecated.Get theStreamingSerializer
to use for streaming content.
-
Constructor Details
-
ContentCodecToBufferEncoder
Deprecated.Create a new instance.- Parameters:
codec
- The codec to convert.
-
-
Method Details
-
encoder
Deprecated.Description copied from interface:BufferEncoder
Get theSerializer
to use for aggregated content.- Specified by:
encoder
in interfaceBufferEncoder
- Returns:
- the
Serializer
to use for aggregated content.
-
streamingEncoder
Deprecated.Description copied from interface:BufferEncoder
Get theStreamingSerializer
to use for streaming content.- Specified by:
streamingEncoder
in interfaceBufferEncoder
- Returns:
- the
StreamingSerializer
to use for streaming content.
-
encodingName
Deprecated.Description copied from interface:BufferEncoder
Get the name of the encoding.- Specified by:
encodingName
in interfaceBufferEncoder
- Returns:
- the name of the encoding.
-
BufferEncoder
. This type will be removed along withContentCodec
.