| 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 |
DefaultHttpServerIODispatch<H extends NHttpServerEventHandler> |
Default
IOEventDispatch implementation
that supports both plain (non-encrypted) and SSL encrypted server side HTTP
connections. |
| Modifier and Type | Method | Description |
|---|---|---|
static <T extends NHttpServerEventHandler> |
DefaultHttpServerIODispatch.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 NHttpServerEventHandler> |
DefaultHttpServerIODispatch.create(T eventHandler,
javax.net.ssl.SSLContext sslContext,
org.apache.http.config.ConnectionConfig config,
org.apache.http.HttpRequestFactory httpRequestFactory) |
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|
static <T extends NHttpServerEventHandler> |
DefaultHttpServerIODispatch.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 |
DefaultNHttpServerConnection.consumeInput(NHttpServerEventHandler handler) |
|
void |
DefaultNHttpServerConnection.produceOutput(NHttpServerEventHandler handler) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
HttpAsyncService |
HttpAsyncService is a fully asynchronous HTTP server side protocol
handler based on the non-blocking (NIO) I/O model. |