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 and Description |
---|---|
DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session) |
protected DefaultNHttpServerConnection |
DefaultHttpServerIODispatch.createConnection(IOSession session) |
DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.createConnection(IOSession ioSession) |
protected DefaultNHttpServerConnection |
DefaultNHttpServerConnectionFactory.createConnection(IOSession session,
HttpRequestFactory requestFactory,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
(4.3) no longer used.
|
protected DefaultNHttpServerConnection |
SSLNHttpServerConnectionFactory.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,
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 | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setConnectionFactory(NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connectionFactory)
Assigns
NHttpConnectionFactory instance. |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.