Top Description Interfaces Classes
module spring.core

Package org.springframework.core.io.buffer

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Generic abstraction for working with byte buffer implementations.

Interface Summary

Modifier and TypeInterface and Description
public interface
CloseableDataBuffer

Extension of DataBuffer that allows for buffers that can be used in a try-with-resources statement.

public interface
DataBuffer

Basic abstraction over byte buffers.

public interface
DataBufferFactory

A factory for DataBuffers, allowing for allocation and wrapping of data buffers.

public interface
PooledDataBuffer

Extension of DataBuffer that allows for buffers that share a memory pool.

public interface
TouchableDataBuffer

Extension of DataBuffer that allows for buffers that can be given hints for debugging purposes.

Class Summary

Modifier and TypeClass and Description
pack-priv class
public class
DataBufferLimitException

Exception that indicates the cumulative number of bytes consumed from a stream of DataBuffer's exceeded some pre-configured limit.

pack-priv class
public abstract class
DataBufferUtils

Utility class for working with DataBuffers.

public class
DataBufferWrapper

Provides a convenient implementation of the DataBuffer interface that can be overridden to adapt the delegate.

public class
DefaultDataBuffer

Default implementation of the DataBuffer interface that uses a ByteBuffer internally.

public class
DefaultDataBufferFactory

Default implementation of the DataBufferFactory interface.

public class
LimitedDataBufferList

Custom List to collect data buffers with and enforce a limit on the total number of bytes buffered.

public class
Netty5DataBuffer

Implementation of the DataBuffer interface that wraps a Netty 5 Buffer.

public class
Netty5DataBufferFactory

Implementation of the DataBufferFactory interface based on a Netty 5 BufferAllocator.

public class
NettyDataBuffer

Implementation of the DataBuffer interface that wraps a Netty 4 ByteBuf.

public class
NettyDataBufferFactory

Implementation of the DataBufferFactory interface based on a Netty 4 ByteBufAllocator.

pack-priv class