| Package | Description |
|---|---|
| org.apache.http.impl.nio.reactor |
Default implementation of event driven network communication APIs
based on Java NIO.
|
| org.apache.http.nio.pool |
Client side connection pools APIs for asynchronous, event driven
communication.
|
| org.apache.http.nio.reactor |
Event driven network communication APIs loosely based on
Doug Lea's
reactor pattern.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
SessionRequestImpl |
Default implementation of
SessionRequest. |
| Modifier and Type | Method | Description |
|---|---|---|
SessionRequest |
DefaultConnectingIOReactor.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
java.lang.Object attachment,
SessionRequestCallback callback) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
AbstractNIOConnPool.requestCancelled(SessionRequest request) |
|
protected void |
AbstractNIOConnPool.requestCompleted(SessionRequest request) |
|
protected void |
AbstractNIOConnPool.requestFailed(SessionRequest request) |
|
protected void |
AbstractNIOConnPool.requestTimeout(SessionRequest request) |
| Modifier and Type | Method | Description |
|---|---|---|
SessionRequest |
ConnectingIOReactor.connect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress,
java.lang.Object attachment,
SessionRequestCallback callback) |
Requests a connection to a remote host.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
SessionRequestCallback.cancelled(SessionRequest request) |
Triggered on cancellation of a
SessionRequest. |
void |
SessionRequestCallback.completed(SessionRequest request) |
Triggered on successful completion of a
SessionRequest. |
void |
SessionRequestCallback.failed(SessionRequest request) |
Triggered on unsuccessful completion a
SessionRequest. |
void |
SessionRequestCallback.timeout(SessionRequest request) |
Triggered if a
SessionRequest times out. |