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.
|
Modifier and Type | Field and Description |
---|---|
private NHttpConnectionFactory<? extends DefaultNHttpServerConnection> |
DefaultHttpServerIODispatch.connectionFactory |
Modifier and Type | Method and Description |
---|---|
protected DefaultNHttpServerConnection |
DefaultHttpServerIODispatch.createConnection(IOSession session) |
DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession iosession) |
DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session) |
protected DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
Modifier and Type | Method and Description |
---|---|
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> |
DefaultHttpServerIODispatch.getConnectionFactory()
Gets the connection factory used to construct this dispatch.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultHttpServerIODispatch.onClosed(DefaultNHttpServerConnection conn) |
protected void |
DefaultHttpServerIODispatch.onConnected(DefaultNHttpServerConnection conn) |
protected void |
DefaultHttpServerIODispatch.onException(DefaultNHttpServerConnection conn,
java.io.IOException ex) |
protected void |
DefaultHttpServerIODispatch.onInputReady(DefaultNHttpServerConnection conn) |
protected void |
DefaultHttpServerIODispatch.onOutputReady(DefaultNHttpServerConnection conn) |
protected void |
DefaultHttpServerIODispatch.onTimeout(DefaultNHttpServerConnection conn) |
Constructor and Description |
---|
DefaultHttpServerIODispatch(H handler,
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connFactory) |
Modifier and Type | Field and Description |
---|---|
private NHttpConnectionFactory<? extends DefaultNHttpServerConnection> |
ServerBootstrap.connectionFactory |
private NHttpConnectionFactory<? extends DefaultNHttpServerConnection> |
HttpServer.connectionFactory |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setConnectionFactory(NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory)
Assigns
NHttpConnectionFactory instance. |
Constructor and Description |
---|
HttpServer(int port,
java.net.InetAddress ifAddress,
IOReactorConfig ioReactorConfig,
NHttpServerEventHandler serverEventHandler,
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory,
ExceptionLogger exceptionLogger) |