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 ContentCodec
identity()
Deprecated.static BufferEncoderDecoder
Get aBufferEncoderDecoder
which 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 aBufferEncoderDecoder
which provides "no encoding".- Returns:
- a
BufferEncoderDecoder
which provides "no encoding".
-
identityEncoder()
.