# Package org.apache.http.nio.util

Various buffering primitives intended to facilitate content streaming for non-blocking HTTP connections.

See: Description

Interface Summary
Interface | Description
--- | ---
BufferInfo | Deprecated (4.1) Use `BufferInfo`
ByteBufferAllocator | Abstract interface to allocate `ByteBuffer` instances.
ContentInputBuffer | Generic content input buffer.
ContentOutputBuffer | Generic content output buffer.

Class Summary
Class | Description
--- | ---
DirectByteBufferAllocator | Allocates `ByteBuffer` instances using `ByteBuffer.allocateDirect(int)`.
ExpandableBuffer | A buffer that expand its capacity on demand using `ByteBufferAllocator` interface.
HeapByteBufferAllocator | Allocates `ByteBuffer` instances using `ByteBuffer.allocate(int)`.
SharedInputBuffer | Implementation of the `ContentInputBuffer` interface that can be shared by multiple threads, usually the I/O dispatch of an I/O reactor and a worker thread.
SharedOutputBuffer | Implementation of the `ContentOutputBuffer` interface that can be shared by multiple threads, usually the I/O dispatch of an I/O reactor and a worker thread.
SimpleInputBuffer | Basic implementation of the `ContentInputBuffer` interface.
SimpleOutputBuffer | Basic implementation of the `ContentOutputBuffer` interface.

## Package org.apache.http.nio.util Description

Various buffering primitives intended to facilitate content streaming for non-blocking HTTP connections.