Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.nio |
The core HTTP components based on non-blocking I/O model (HttpCore NIO).
|
org.apache.http.nio.protocol |
Non-blocking HTTP protocol execution framework.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultNHttpClientConnection
Default implementation of the
NHttpClientConnection interface. |
Modifier and Type | Interface and Description |
---|---|
interface |
NHttpClientIOTarget
Extended version of the
NHttpClientConnection used by
IOEventDispatch implementations to inform client-side connection
objects of I/O events. |
Modifier and Type | Method and Description |
---|---|
void |
NHttpClientHandler.closed(NHttpClientConnection conn)
Triggered when the connection is closed.
|
void |
NHttpClientHandler.connected(NHttpClientConnection conn,
Object attachment)
Triggered when a new outgoing connection is created.
|
void |
NHttpClientHandler.exception(NHttpClientConnection conn,
HttpException ex)
Triggered when an HTTP protocol violation occurs while receiving
an HTTP response.
|
void |
NHttpClientHandler.exception(NHttpClientConnection conn,
IOException ex)
Triggered when an I/O error occurs while reading from or writing
to the underlying channel.
|
void |
NHttpClientHandler.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.outputReady(NHttpClientConnection conn,
ContentEncoder encoder)
Triggered when the underlying channel is ready for writing a next portion
of the request entity through the corresponding content encoder.
|
void |
NHttpClientHandler.requestReady(NHttpClientConnection conn)
Triggered when the connection is ready to accept a new HTTP request.
|
void |
NHttpClientHandler.responseReceived(NHttpClientConnection conn)
Triggered when an HTTP response is received.
|
void |
NHttpClientHandler.timeout(NHttpClientConnection conn)
Triggered when no input is detected on this connection over the
maximum period of inactivity.
|
Modifier and Type | Method and Description |
---|---|
void |
ThrottlingHttpClientHandler.closed(NHttpClientConnection conn) |
void |
NHttpClientHandlerBase.closed(NHttpClientConnection conn)
Deprecated.
|
void |
BufferingHttpClientHandler.closed(NHttpClientConnection conn) |
void |
AsyncNHttpClientHandler.closed(NHttpClientConnection conn) |
void |
ThrottlingHttpClientHandler.connected(NHttpClientConnection conn,
Object attachment) |
void |
BufferingHttpClientHandler.connected(NHttpClientConnection conn,
Object attachment) |
void |
AsyncNHttpClientHandler.connected(NHttpClientConnection conn,
Object attachment) |
void |
ThrottlingHttpClientHandler.exception(NHttpClientConnection conn,
HttpException ex) |
void |
NHttpClientHandlerBase.exception(NHttpClientConnection conn,
HttpException ex)
Deprecated.
|
void |
BufferingHttpClientHandler.exception(NHttpClientConnection conn,
HttpException httpex) |
void |
AsyncNHttpClientHandler.exception(NHttpClientConnection conn,
HttpException ex) |
void |
ThrottlingHttpClientHandler.exception(NHttpClientConnection conn,
IOException ex) |
void |
NHttpClientHandlerBase.exception(NHttpClientConnection conn,
IOException ex)
Deprecated.
|
void |
BufferingHttpClientHandler.exception(NHttpClientConnection conn,
IOException ioex) |
void |
AsyncNHttpClientHandler.exception(NHttpClientConnection conn,
IOException ex) |
void |
ThrottlingHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder) |
void |
BufferingHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder) |
void |
AsyncNHttpClientHandler.inputReady(NHttpClientConnection conn,
ContentDecoder decoder) |
void |
ThrottlingHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder) |
void |
BufferingHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder) |
void |
AsyncNHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder) |
void |
ThrottlingHttpClientHandler.requestReady(NHttpClientConnection conn) |
void |
BufferingHttpClientHandler.requestReady(NHttpClientConnection conn) |
void |
AsyncNHttpClientHandler.requestReady(NHttpClientConnection conn) |
void |
ThrottlingHttpClientHandler.responseReceived(NHttpClientConnection conn) |
void |
BufferingHttpClientHandler.responseReceived(NHttpClientConnection conn) |
void |
AsyncNHttpClientHandler.responseReceived(NHttpClientConnection conn) |
void |
ThrottlingHttpClientHandler.timeout(NHttpClientConnection conn) |
void |
BufferingHttpClientHandler.timeout(NHttpClientConnection conn) |
void |
AsyncNHttpClientHandler.timeout(NHttpClientConnection conn) |
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.