Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
org.apache.http.impl.nio.codecs |
Default implementations of message parses and writers
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 | 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 |
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.
|
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.
|
Constructor and Description |
---|
ContentDecoderChannel(ContentDecoder decoder) |
Modifier and Type | Method and Description |
---|---|
void |
BufferingNHttpEntity.consumeContent(ContentDecoder decoder,
IOControl ioControl)
Deprecated.
|
void |
ConsumingNHttpEntityTemplate.consumeContent(ContentDecoder decoder,
IOControl ioControl)
Deprecated.
|
void |
ConsumingNHttpEntity.consumeContent(ContentDecoder decoder,
IOControl ioControl)
Deprecated.
Notification that content is available to be read from the decoder.
|
void |
SkipContentListener.contentAvailable(ContentDecoder decoder,
IOControl ioControl)
Deprecated.
|
void |
ContentListener.contentAvailable(ContentDecoder decoder,
IOControl ioControl)
Deprecated.
Notification that content is available to be read from the decoder.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicAsyncRequestExecutionHandler.consumeContent(ContentDecoder decoder,
IOControl ioControl)
Deprecated.
|
void |
HttpAsyncRequestConsumer.consumeContent(ContentDecoder decoder,
IOControl ioControl)
Invoked to process a chunk of content from the
ContentDecoder . |
void |
HttpAsyncResponseConsumer.consumeContent(ContentDecoder decoder,
IOControl ioControl)
Invoked to process a chunk of content from the
ContentDecoder . |
void |
AbstractAsyncResponseConsumer.consumeContent(ContentDecoder decoder,
IOControl ioControl)
|
void |
AbstractAsyncRequestConsumer.consumeContent(ContentDecoder decoder,
IOControl ioControl)
|
void |
BasicAsyncClientExchangeHandler.consumeContent(ContentDecoder decoder,
IOControl ioControl) |
void |
HttpAsyncClientExchangeHandler.consumeContent(ContentDecoder decoder,
IOControl ioControl)
Invoked to process a chunk of content from the
ContentDecoder . |
void |
PipeliningClientExchangeHandler.consumeContent(ContentDecoder decoder,
IOControl ioControl) |
void |
ThrottlingHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
BufferingHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
AsyncNHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
HttpAsyncRequestExecutor.inputReady(NHttpClientConnection conn,
ContentDecoder decoder) |
void |
ThrottlingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
BufferingHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
AsyncNHttpServiceHandler.inputReady(NHttpServerConnection conn,
ContentDecoder decoder)
Deprecated.
|
void |
HttpAsyncService.inputReady(NHttpServerConnection conn,
ContentDecoder decoder) |
protected void |
BasicAsyncResponseConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioControl) |
protected void |
BasicAsyncRequestConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioControl) |
protected abstract void |
AbstractAsyncResponseConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioControl)
Invoked to process a chunk of content from the
ContentDecoder . |
protected abstract void |
AbstractAsyncRequestConsumer.onContentReceived(ContentDecoder decoder,
IOControl ioControl)
Invoked to process a chunk of content from the
ContentDecoder . |
Modifier and Type | Method and Description |
---|---|
int |
SharedInputBuffer.consumeContent(ContentDecoder decoder)
Deprecated.
|
int |
ContentInputBuffer.consumeContent(ContentDecoder decoder)
Deprecated.
(4.3) use implementation specific methods.
|
int |
SimpleInputBuffer.consumeContent(ContentDecoder decoder) |
int |
SharedInputBuffer.consumeContent(ContentDecoder decoder,
IOControl ioControl) |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.