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 and 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 and Description |
---|---|
static <T extends NHttpServerEventHandler> |
DefaultHttpServerIODispatch.create(T handler,
SSLContext sslContext,
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,
SSLContext sslContext,
ConnectionConfig config,
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,
SSLContext sslContext,
SSLSetupHandler sslHandler,
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 and Description |
---|---|
void |
DefaultNHttpServerConnection.consumeInput(NHttpServerEventHandler handler) |
void |
DefaultNHttpServerConnection.produceOutput(NHttpServerEventHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
HttpAsyncService
HttpAsyncService is a fully asynchronous HTTP server side protocol
handler based on the non-blocking (NIO) I/O model. |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.