Package io.servicetalk.encoding.api
Class Identity
java.lang.Object
io.servicetalk.encoding.api.Identity
Utility class that constructs and provides the default, always supported NOOP 'identity'
ContentCodec.-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentCodecidentity()Deprecated.static BufferEncoderDecoderGet aBufferEncoderDecoderwhich provides "no encoding".
-
Method Details
-
identity
Deprecated.UseidentityEncoder().Returns the default, always supported NOOP 'identity'ContentCodec.- Returns:
- the default, always supported NOOP 'identity'
ContentCodec.
-
identityEncoder
Get aBufferEncoderDecoderwhich provides "no encoding".- Returns:
- a
BufferEncoderDecoderwhich provides "no encoding".
-
identityEncoder().