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 and Description |
---|---|
protected ByteBufferAllocator |
DefaultServerIOEventDispatch.allocator
Deprecated.
|
protected ByteBufferAllocator |
DefaultClientIOEventDispatch.allocator
Deprecated.
|
private ByteBufferAllocator |
SSLNHttpClientConnectionFactory.allocator |
private ByteBufferAllocator |
DefaultNHttpClientConnectionFactory.allocator |
private ByteBufferAllocator |
SSLNHttpServerConnectionFactory.allocator |
private ByteBufferAllocator |
DefaultNHttpServerConnectionFactory.allocator |
Modifier and Type | Method and Description |
---|---|
protected ByteBufferAllocator |
SSLClientIOEventDispatch.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 |
SSLServerIOEventDispatch.createByteBufferAllocator()
Deprecated.
Creates an instance of
HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects. |
protected ByteBufferAllocator |
DefaultClientIOEventDispatch.createByteBufferAllocator()
Deprecated.
Creates an instance of
HeapByteBufferAllocator to be used
by HTTP connections for allocating ByteBuffer objects. |
Modifier and Type | Method and Description |
---|---|
protected DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
Constructor and Description |
---|
DefaultNHttpClientConnection(IOSession session,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
DefaultNHttpClientConnection(IOSession session,
int buffersize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageWriterFactory<HttpRequest> requestWriterFactory,
NHttpMessageParserFactory<HttpResponse> responseParserFactory)
Creates new instance DefaultNHttpClientConnection given the underlying I/O session.
|
DefaultNHttpClientConnectionFactory(ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig cconfig) |
DefaultNHttpClientConnectionFactory(HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
DefaultNHttpClientConnectionFactory(NHttpMessageParserFactory<HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig cconfig) |
DefaultNHttpServerConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
DefaultNHttpServerConnection(IOSession session,
int buffersize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<HttpResponse> responseWriterFactory)
Creates new instance DefaultNHttpServerConnection given the underlying I/O session.
|
DefaultNHttpServerConnectionFactory(ByteBufferAllocator allocator,
NHttpMessageParserFactory<HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<HttpResponse> responseWriterFactory,
ConnectionConfig cconfig) |
DefaultNHttpServerConnectionFactory(ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<HttpResponse> responseWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig cconfig) |
DefaultNHttpServerConnectionFactory(HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
NHttpConnectionBase(IOSession session,
ByteBufferAllocator allocator,
HttpParams params)
|
NHttpConnectionBase(IOSession session,
int buffersize,
int fragmentSizeHint,
ByteBufferAllocator allocator,
java.nio.charset.CharsetDecoder chardecoder,
java.nio.charset.CharsetEncoder charencoder,
ContentLengthStrategy incomingContentStrategy,
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,
MessageConstraints constraints,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy)
Creates new instance NHttpConnectionBase given the underlying I/O session.
|
SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig cconfig) |
SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
NHttpMessageParserFactory<HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig cconfig) |
SSLNHttpServerConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
NHttpMessageParserFactory<HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<HttpResponse> responseWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig cconfig) |
SSLNHttpServerConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
SSLNHttpServerConnectionFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
NHttpMessageParserFactory<HttpRequest> requestParserFactory,
NHttpMessageWriterFactory<HttpResponse> responseWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig cconfig) |
Constructor and Description |
---|
BasicNIOConnFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
HttpParams params)
|
BasicNIOConnFactory(javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
NHttpMessageParserFactory<HttpResponse> responseParserFactory,
NHttpMessageWriterFactory<HttpRequest> requestWriterFactory,
ByteBufferAllocator allocator,
ConnectionConfig config) |
Constructor and Description |
---|
SessionInputBufferImpl(int buffersize,
int lineBuffersize,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
SessionInputBufferImpl(int buffersize,
int lineBuffersize,
java.nio.charset.CharsetDecoder chardecoder,
ByteBufferAllocator allocator)
Creates SessionInputBufferImpl instance.
|
SessionInputBufferImpl(int buffersize,
int lineBuffersize,
MessageConstraints constraints,
java.nio.charset.CharsetDecoder chardecoder,
ByteBufferAllocator allocator)
Creates SessionInputBufferImpl instance.
|
SessionOutputBufferImpl(int buffersize,
int lineBuffersize,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
SessionOutputBufferImpl(int buffersize,
int lineBuffersize,
java.nio.charset.CharsetEncoder charencoder,
ByteBufferAllocator allocator)
Creates SessionOutputBufferImpl instance.
|
Constructor and Description |
---|
BufferingNHttpEntity(HttpEntity httpEntity,
ByteBufferAllocator allocator)
Deprecated.
|
SkipContentListener(ByteBufferAllocator allocator)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected ByteBufferAllocator |
NHttpHandlerBase.allocator
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
DirectByteBufferAllocator
Allocates
ByteBuffer instances using
ByteBuffer.allocateDirect(int) . |
class |
HeapByteBufferAllocator
Allocates
ByteBuffer instances using
ByteBuffer.allocate(int) . |
Modifier and Type | Field and Description |
---|---|
private ByteBufferAllocator |
ExpandableBuffer.allocator |
Constructor and Description |
---|
ExpandableBuffer(int buffersize,
ByteBufferAllocator allocator)
Allocates buffer of the given size using the given allocator.
|
SharedInputBuffer(int buffersize,
ByteBufferAllocator allocator) |
SharedInputBuffer(int buffersize,
IOControl ioctrl,
ByteBufferAllocator allocator)
Deprecated.
|
SharedOutputBuffer(int buffersize,
ByteBufferAllocator allocator) |
SharedOutputBuffer(int buffersize,
IOControl ioctrl,
ByteBufferAllocator allocator)
Deprecated.
|
SimpleInputBuffer(int buffersize,
ByteBufferAllocator allocator) |
SimpleOutputBuffer(int buffersize,
ByteBufferAllocator allocator) |