Package org.springframework.core.codec
Interface Summary Interface Description Decoder<T> Strategy for decoding aDataBufferinput stream into an output stream of elements of type<T>.Encoder<T> Strategy to encode a stream of Objects of type<T>into an output stream of bytes.Class Summary Class Description AbstractDataBufferDecoder<T> Abstract base class forDecoderimplementations that can decode aDataBufferdirectly to the target element type.AbstractDecoder<T> Abstract base class forDecoderimplementations.AbstractEncoder<T> Abstract base class forDecoderimplementations.AbstractSingleValueEncoder<T> Abstract base class forEncoderclasses that can only deal with a single value.ByteArrayDecoder Decoder forbytearrays.ByteArrayEncoder Encoder forbytearrays.ByteBufferDecoder Decoder forByteBuffers.ByteBufferEncoder Encoder forByteBuffers.CharSequenceEncoder Encode from aCharSequencestream to a bytes stream.DataBufferDecoder Simple pass-through decoder forDataBuffers.DataBufferEncoder Simple pass-through encoder forDataBuffers.Hints Constants and convenience methods for working with hints.ResourceDecoder Decoder forResources.ResourceEncoder Encoder forResources.ResourceRegionEncoder Encoder forResourceRegions.StringDecoder Decode from a data buffer stream to aStringstream, either splitting or aggregating incoming data chunks to realign along newlines delimiters and produce a stream of strings.Exception Summary Exception Description CodecException General error that indicates a problem while encoding and decoding to and from an Object stream.DecodingException Indicates an issue with decoding the input stream with a focus on content related issues such as a parse failure.EncodingException Indicates an issue with encoding the input Object stream with a focus on not being able to encode Objects.