| Package | Description |
|---|---|
| org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
| org.apache.http.impl.nio.pool |
Default implementations of client side connection pools
for asynchronous, even driven communication.
|
| org.apache.http.impl.nio.reactor |
Default implementation of event driven network communication APIs
based on Java NIO.
|
| org.apache.http.nio.entity |
Core HTTP entity implementations with support for
asynchronous, event driven communication.
|
| org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
| org.apache.http.nio.util |
Core utility classes for asynchronous, event driven communication.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected ByteBufferAllocator |
DefaultClientIOEventDispatch.allocator |
Deprecated.
|
protected ByteBufferAllocator |
DefaultServerIOEventDispatch.allocator |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected ByteBufferAllocator |
DefaultClientIOEventDispatch.createByteBufferAllocator() |
Deprecated.
Creates an instance of
HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects. |
protected ByteBufferAllocator |
DefaultServerIOEventDispatch.createByteBufferAllocator() |
Deprecated.
Creates an instance of
HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects. |
protected ByteBufferAllocator |
SSLClientIOEventDispatch.createByteBufferAllocator() |
Deprecated.
Creates an instance of
HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects. |
protected ByteBufferAllocator |
SSLServerIOEventDispatch.createByteBufferAllocator() |
Deprecated.
Creates an instance of
HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects. |
| Modifier and Type | Method | Description |
|---|---|---|
protected DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
| Constructor | Description |
|---|---|
DefaultNHttpClientConnection(IOSession session,
int buffersize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
org.apache.http.config.MessageConstraints constraints,
org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
NHttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
NHttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory) |
Creates new instance DefaultNHttpClientConnection given the underlying I/O session.
|
DefaultNHttpClientConnection(IOSession session,
org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
DefaultNHttpClientConnectionFactory(org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig cconfig) |
|
DefaultNHttpClientConnectionFactory(org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
DefaultNHttpClientConnectionFactory(NHttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig cconfig) |
|
DefaultNHttpServerConnection(IOSession session,
int buffersize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
org.apache.http.config.MessageConstraints constraints,
org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<org.apache.http.HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpResponse> responseWriterFactory) |
Creates new instance DefaultNHttpServerConnection given the underlying I/O session.
|
DefaultNHttpServerConnection(IOSession session,
org.apache.http.HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
DefaultNHttpServerConnectionFactory(org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<org.apache.http.HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpResponse> responseWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig cconfig) |
|
DefaultNHttpServerConnectionFactory(org.apache.http.HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
DefaultNHttpServerConnectionFactory(ByteBufferAllocator allocator,
NHttpMessageParserFactory<org.apache.http.HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpResponse> responseWriterFactory,
org.apache.http.config.ConnectionConfig cconfig) |
|
NHttpConnectionBase(IOSession session,
int buffersize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
org.apache.http.config.MessageConstraints constraints,
org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy) |
Creates new instance NHttpConnectionBase given the underlying I/O session.
|
NHttpConnectionBase(IOSession session,
int buffersize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy) |
Creates new instance NHttpConnectionBase given the underlying I/O session.
|
NHttpConnectionBase(IOSession session,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig cconfig) |
|
SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
NHttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig cconfig) |
|
SSLNHttpServerConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<org.apache.http.HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpResponse> responseWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig cconfig) |
|
SSLNHttpServerConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
org.apache.http.HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
SSLNHttpServerConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
NHttpMessageParserFactory<org.apache.http.HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpResponse> responseWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig cconfig) |
| Constructor | Description |
|---|---|
BasicNIOConnFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
|
BasicNIOConnFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
NHttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
org.apache.http.config.ConnectionConfig config) |
| Constructor | Description |
|---|---|
SessionInputBufferImpl(int buffersize,
int lineBuffersize,
java.nio.charset.CharsetDecoder chardecoder,
ByteBufferAllocator allocator) |
Creates SessionInputBufferImpl instance.
|
SessionInputBufferImpl(int buffersize,
int lineBuffersize,
org.apache.http.config.MessageConstraints constraints,
java.nio.charset.CharsetDecoder chardecoder,
ByteBufferAllocator allocator) |
Creates SessionInputBufferImpl instance.
|
SessionInputBufferImpl(int buffersize,
int lineBuffersize,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
SessionOutputBufferImpl(int buffersize,
int lineBuffersize,
java.nio.charset.CharsetEncoder charencoder,
ByteBufferAllocator allocator) |
Creates SessionOutputBufferImpl instance.
|
SessionOutputBufferImpl(int buffersize,
int lineBuffersize,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
| Constructor | Description |
|---|---|
BufferingNHttpEntity(org.apache.http.HttpEntity httpEntity,
ByteBufferAllocator allocator) |
Deprecated.
|
SkipContentListener(ByteBufferAllocator allocator) |
Deprecated.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected ByteBufferAllocator |
NHttpHandlerBase.allocator |
Deprecated.
|
| Constructor | Description |
|---|---|
AsyncNHttpClientHandler(org.apache.http.protocol.HttpProcessor httpProcessor,
NHttpRequestExecutionHandler execHandler,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
AsyncNHttpServiceHandler(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
BufferingHttpClientHandler(org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
BufferingHttpServiceHandler(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
NHttpHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
ThrottlingHttpClientHandler(org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
java.util.concurrent.Executor executor,
org.apache.http.params.HttpParams params) |
Deprecated.
|
ThrottlingHttpServiceHandler(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
java.util.concurrent.Executor executor,
org.apache.http.params.HttpParams params) |
Deprecated.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DirectByteBufferAllocator |
Allocates
ByteBuffer instances using
ByteBuffer.allocateDirect(int). |
class |
HeapByteBufferAllocator |
Allocates
ByteBuffer instances using
ByteBuffer.allocate(int). |
| Constructor | Description |
|---|---|
ExpandableBuffer(int buffersize,
ByteBufferAllocator allocator) |
Allocates buffer of the given size using the given allocator.
|
SharedInputBuffer(int buffersize,
IOControl ioctrl,
ByteBufferAllocator allocator) |
Deprecated.
|
SharedInputBuffer(int buffersize,
ByteBufferAllocator allocator) |
|
SharedOutputBuffer(int buffersize,
IOControl ioctrl,
ByteBufferAllocator allocator) |
Deprecated.
|
SharedOutputBuffer(int buffersize,
ByteBufferAllocator allocator) |
|
SimpleInputBuffer(int buffersize,
ByteBufferAllocator allocator) |
|
SimpleOutputBuffer(int buffersize,
ByteBufferAllocator allocator) |