| Package | Description |
|---|---|
| org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
| org.apache.http.nio |
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
|
| 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 | Class | Description |
|---|---|---|
class |
DefaultNHttpClientConnection |
Default implementation of the
NHttpClientConnection
interface. |
class |
DefaultNHttpServerConnection |
Default implementation of the
NHttpServerConnection
interface. |
class |
NHttpConnectionBase |
This class serves as a base for all
NHttpConnection implementations and provides
functionality common to both client and server HTTP connections. |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
NHttpClientConnection |
Abstract non-blocking client-side HTTP connection interface.
|
interface |
NHttpClientIOTarget |
Deprecated.
(4.2) no longer used
|
interface |
NHttpConnection |
Abstract non-blocking HTTP connection interface.
|
interface |
NHttpServerConnection |
Abstract non-blocking server-side HTTP connection interface.
|
interface |
NHttpServerIOTarget |
Deprecated.
(4.2) no longer used
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BufferingNHttpEntity.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
Deprecated.
|
void |
ConsumingNHttpEntity.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
Deprecated.
Notification that content is available to be read from the decoder.
|
void |
ConsumingNHttpEntityTemplate.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
Deprecated.
|
void |
ContentListener.contentAvailable(ContentDecoder decoder,
IOControl ioctrl) |
Deprecated.
Notification that content is available to be read from the decoder.
|
void |
SkipContentListener.contentAvailable(ContentDecoder decoder,
IOControl ioctrl) |
Deprecated.
|
void |
EntityAsyncContentProducer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
HttpAsyncContentProducer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Invoked to write out a chunk of content to the
ContentEncoder. |
void |
NByteArrayEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
NFileEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
NHttpEntityWrapper.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Deprecated.
|
void |
NStringEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
ProducingNHttpEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Deprecated.
Notification that content should be written to the encoder.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractAsyncRequestConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
|
void |
AbstractAsyncResponseConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
|
void |
BasicAsyncClientExchangeHandler.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
|
void |
BasicAsyncRequestExecutionHandler.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
Deprecated.
|
void |
HttpAsyncClientExchangeHandler.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
Invoked to process a chunk of content from the
ContentDecoder. |
void |
HttpAsyncRequestConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
Invoked to process a chunk of content from the
ContentDecoder. |
void |
HttpAsyncResponseConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
Invoked to process a chunk of content from the
ContentDecoder. |
void |
PipeliningClientExchangeHandler.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
|
protected abstract void |
AbstractAsyncRequestConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl) |
Invoked to process a chunk of content from the
ContentDecoder. |
protected abstract void |
AbstractAsyncResponseConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl) |
Invoked to process a chunk of content from the
ContentDecoder. |
protected void |
BasicAsyncRequestConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl) |
|
protected void |
BasicAsyncResponseConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl) |
|
void |
BasicAsyncClientExchangeHandler.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
BasicAsyncRequestExecutionHandler.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Deprecated.
|
void |
BasicAsyncRequestProducer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
BasicAsyncResponseProducer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
ErrorResponseProducer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
|
void |
HttpAsyncClientExchangeHandler.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Invoked to write out a chunk of content to the
ContentEncoder. |
void |
HttpAsyncRequestProducer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Invoked to write out a chunk of content to the
ContentEncoder. |
void |
HttpAsyncResponseProducer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Invoked to write out a chunk of content to the
ContentEncoder. |
void |
PipeliningClientExchangeHandler.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
SharedInputBuffer.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
|
int |
SharedOutputBuffer.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
| Constructor | Description |
|---|---|
SharedInputBuffer(int buffersize,
IOControl ioctrl,
ByteBufferAllocator allocator) |
Deprecated.
|
SharedOutputBuffer(int buffersize,
IOControl ioctrl,
ByteBufferAllocator allocator) |
Deprecated.
|