Package org.springframework.core.codec
@NonNullApi
@NonNullFields
package org.springframework.core.codec
-
ClassDescriptionAbstract base class for
Decoder
implementations that can decode aDataBuffer
directly to the target element type.Abstract base class forDecoder
implementations.Abstract base class forEncoder
implementations.Abstract base class forEncoder
classes that can only deal with a single value.Decoder forbyte
arrays.Encoder forbyte
arrays.Decoder forByteBuffers
.Encoder forByteBuffers
.Encode from aCharSequence
stream to a bytes stream.General error that indicates a problem while encoding and decoding to and from an Object stream.Simple pass-through decoder forDataBuffers
.Simple pass-through encoder forDataBuffers
.Decoder<T>Strategy for decoding aDataBuffer
input stream into an output stream of elements of type<T>
.Indicates an issue with decoding the input stream with a focus on content related issues such as a parse failure.Encoder<T>Strategy to encode a stream of Objects of type<T>
into an output stream of bytes.Indicates an issue with encoding the input Object stream with a focus on not being able to encode Objects.Constants and convenience methods for working with hints.Decoder forBuffers
.Encoder forBuffers
.Decoder forByteBufs
.Encoder forByteBufs
.Decoder forResources
.Encoder forResources
.Encoder forResourceRegions
.Decode from a data buffer stream to aString
stream, either splitting or aggregating incoming data chunks to realign along newlines delimiters and produce a stream of strings.