Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
org.apache.http.impl.nio.bootstrap |
Embedded non-blocking server and server bootstrap.
|
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 | Class and Description |
---|---|
(package private) class |
NHttpServerEventHandlerAdaptor
Deprecated.
(4.2)
|
Modifier and Type | Field and Description |
---|---|
private H |
DefaultHttpServerIODispatch.handler |
Modifier and Type | Method and Description |
---|---|
static <T extends NHttpServerEventHandler> |
DefaultHttpServerIODispatch.create(T handler,
javax.net.ssl.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,
javax.net.ssl.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,
javax.net.ssl.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 | Field and Description |
---|---|
private NHttpServerEventHandler |
HttpServer.serverEventHandler |
Constructor and Description |
---|
HttpServer(int port,
java.net.InetAddress ifAddress,
IOReactorConfig ioReactorConfig,
NHttpServerEventHandler serverEventHandler,
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory,
ExceptionLogger exceptionLogger) |
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. |