| 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 | Method | Description |
|---|---|---|
protected DefaultNHttpServerConnection |
DefaultHttpServerIODispatch.createConnection(IOSession session) |
|
DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session) |
|
protected DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession iosession) |
|
protected DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
| Modifier and Type | Method | Description |
|---|---|---|
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> |
DefaultHttpServerIODispatch.getConnectionFactory() |
Gets the connection factory used to construct this dispatch.
|
| Modifier and Type | Method | 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 | Description |
|---|---|
DefaultHttpServerIODispatch(H handler,
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connFactory) |
| Modifier and Type | Method | Description |
|---|---|---|
ServerBootstrap |
ServerBootstrap.setConnectionFactory(NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory) |
Assigns
NHttpConnectionFactory instance. |