| Package | Description |
|---|---|
| org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected DefaultNHttpClientConnection |
DefaultHttpClientIODispatch.createConnection(IOSession session) |
|
DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session) |
|
protected DefaultNHttpClientConnection |
DefaultNHttpClientConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession iosession) |
|
protected DefaultNHttpClientConnection |
SSLNHttpClientConnectionFactory.createConnection(IOSession session,
org.apache.http.HttpResponseFactory responseFactory,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
(4.3) no longer used.
|
| Modifier and Type | Method | Description |
|---|---|---|
NHttpConnectionFactory<? extends DefaultNHttpClientConnection> |
DefaultHttpClientIODispatch.getConnectionFactory() |
Gets the connection factory used to construct this dispatch.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
DefaultHttpClientIODispatch.onClosed(DefaultNHttpClientConnection conn) |
|
protected void |
DefaultHttpClientIODispatch.onConnected(DefaultNHttpClientConnection conn) |
|
protected void |
DefaultHttpClientIODispatch.onException(DefaultNHttpClientConnection conn,
java.io.IOException ex) |
|
protected void |
DefaultHttpClientIODispatch.onInputReady(DefaultNHttpClientConnection conn) |
|
protected void |
DefaultHttpClientIODispatch.onOutputReady(DefaultNHttpClientConnection conn) |
|
protected void |
DefaultHttpClientIODispatch.onTimeout(DefaultNHttpClientConnection conn) |
| Constructor | Description |
|---|---|
DefaultHttpClientIODispatch(H handler,
NHttpConnectionFactory<? extends DefaultNHttpClientConnection> connFactory) |
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|