| Package | Description |
|---|---|
| org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
| org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DefaultHttpClientIODispatch<H extends NHttpClientEventHandler> |
Default
IOEventDispatch implementation
that supports both plain (non-encrypted) and SSL encrypted client side HTTP
connections. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T extends NHttpClientEventHandler> |
DefaultHttpClientIODispatch.create(T handler,
javax.net.ssl.SSLContext sslContext,
org.apache.http.config.ConnectionConfig config) |
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|
static <T extends NHttpClientEventHandler> |
DefaultHttpClientIODispatch.create(T handler,
javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
org.apache.http.config.ConnectionConfig config) |
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultNHttpClientConnection.consumeInput(NHttpClientEventHandler handler) |
|
void |
DefaultNHttpClientConnection.produceOutput(NHttpClientEventHandler handler) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
HttpAsyncRequestExecutor |
HttpAsyncRequestExecutor is a fully asynchronous HTTP client side
protocol handler based on the NIO (non-blocking) I/O model. |