Package org.springframework.core.io.buffer
Generic abstraction for working with byte buffer implementations.
Interface Summary Interface Description DataBuffer Basic abstraction over byte buffers.DataBufferFactory A factory forDataBuffers
, allowing for allocation and wrapping of data buffers.DataBufferUtils.Matcher Contract to find delimiter(s) against one or more data buffers that can be passed one at a time to theDataBufferUtils.Matcher.match(DataBuffer)
method.PooledDataBuffer Extension ofDataBuffer
that allows for buffer that share a memory pool.Class Summary Class Description DataBufferUtils Utility class for working withDataBuffers
.DataBufferWrapper Provides a convenient implementation of theDataBuffer
interface that can be overridden to adapt the delegate.DefaultDataBuffer Default implementation of theDataBuffer
interface that uses aByteBuffer
internally.DefaultDataBufferFactory Default implementation of theDataBufferFactory
interface.LimitedDataBufferList CustomList
to collect data buffers with and enforce a limit on the total number of bytes buffered.NettyDataBuffer Implementation of theDataBuffer
interface that wraps a NettyByteBuf
.NettyDataBufferFactory Implementation of theDataBufferFactory
interface based on a NettyByteBufAllocator
.Exception Summary Exception Description DataBufferLimitException Exception that indicates the cumulative number of bytes consumed from a stream ofDataBuffer
's exceeded some pre-configured limit.