Class ContentCodecToBufferEncoder
java.lang.Object
io.servicetalk.encoding.api.internal.ContentCodecToBufferEncoder
- All Implemented Interfaces:
BufferEncoder
Deprecated.
Convert from
ContentCodec to BufferEncoder.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionencoder()Deprecated.Get theSerializerto use for aggregated content.Deprecated.Get the name of the encoding.Deprecated.Get theStreamingSerializerto 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:BufferEncoderGet theSerializerto use for aggregated content.- Specified by:
encoderin interfaceBufferEncoder- Returns:
- the
Serializerto use for aggregated content.
-
streamingEncoder
Deprecated.Description copied from interface:BufferEncoderGet theStreamingSerializerto use for streaming content.- Specified by:
streamingEncoderin interfaceBufferEncoder- Returns:
- the
StreamingSerializerto use for streaming content.
-
encodingName
Deprecated.Description copied from interface:BufferEncoderGet the name of the encoding.- Specified by:
encodingNamein interfaceBufferEncoder- Returns:
- the name of the encoding.
-
BufferEncoder. This type will be removed along withContentCodec.