Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.impl.nio.codecs |
Default implementations for interfaces in
org.apache.http.nio.codecs . |
org.apache.http.nio |
Core HTTP components based on the non-blocking I/O model.
|
org.apache.http.nio.entity |
Common HTTP entity implementations with extensions for
asynchronous (non-blocking) data transfer.
|
org.apache.http.nio.protocol |
Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
|
org.apache.http.nio.util |
Various buffering primitives intended to facilitate content streaming for
non-blocking HTTP connections.
|
Modifier and Type | Field and Description |
---|---|
protected ContentDecoder |
NHttpConnectionBase.contentDecoder |
Modifier and Type | Method and Description |
---|---|
protected ContentDecoder |
NHttpConnectionBase.createContentDecoder(long len,
ReadableByteChannel channel,
SessionInputBuffer buffer,
HttpTransportMetricsImpl metrics)
Factory method for
ContentDecoder instances. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentDecoder
Abstract
ContentDecoder that serves as a base for all content
decoder implementations. |
class |
ChunkDecoder
Implements chunked transfer coding.
|
class |
IdentityDecoder
Content decoder that reads data without any transformation.
|
class |
LengthDelimitedDecoder
Content decoder that cuts off after a defined number of bytes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FileContentDecoder
A content decoder capable of transferring data directly to a
FileChannel |
Modifier and Type | Method and Description |
---|---|
void |
NHttpClientEventHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Triggered when the underlying channel is ready for reading a
new portion of the response entity through the corresponding
content decoder.
|
void |
NHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Deprecated.
Triggered when the underlying channel is ready for reading a
new portion of the response entity through the corresponding
content decoder.
|
void |
NHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
Triggered when the underlying channel is ready for reading a
new portion of the request entity through the corresponding
content decoder.
|
void |
NHttpServerEventHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Triggered when the underlying channel is ready for reading a
new portion of the request entity through the corresponding
content decoder.
|
Constructor and Description |
---|
ContentDecoderChannel(ContentDecoder decoder) |
Modifier and Type | Method and Description |
---|---|
void |
ConsumingNHttpEntityTemplate.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 |
BufferingNHttpEntity.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.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAsyncRequestConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl)
|
void |
HttpAsyncRequestConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl)
Invoked to process a chunk of content from the
ContentDecoder . |
void |
BasicAsyncRequestExecutionHandler.consumeContent(ContentDecoder decoder,
IOControl ioctrl) |
void |
HttpAsyncResponseConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl)
Invoked to process a chunk of content from the
ContentDecoder . |
void |
AbstractAsyncResponseConsumer.consumeContent(ContentDecoder decoder,
IOControl ioctrl)
|
void |
HttpAsyncRequestExecutor.inputReady(NHttpClientConnection conn,
ContentDecoder decoder) |
void |
BufferingHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
AsyncNHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
ThrottlingHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
HttpAsyncService.inputReady(NHttpServerConnection conn,
ContentDecoder decoder) |
void |
ThrottlingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
AsyncNHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
BufferingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
protected void |
BasicAsyncRequestConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl) |
protected abstract void |
AbstractAsyncRequestConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl)
Invoked to process a chunk of content from the
ContentDecoder . |
protected void |
BasicAsyncResponseConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl) |
protected abstract void |
AbstractAsyncResponseConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioctrl)
Invoked to process a chunk of content from the
ContentDecoder . |
Modifier and Type | Method and Description |
---|---|
int |
SimpleInputBuffer.consumeContent(ContentDecoder decoder) |
int |
ContentInputBuffer.consumeContent(ContentDecoder decoder)
Reads content from the given
ContentDecoder and stores it in
this buffer. |
int |
SharedInputBuffer.consumeContent(ContentDecoder decoder) |
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.