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 and Description |
---|---|
class |
SessionRequestImpl
Default implementation of
SessionRequest . |
Modifier and Type | Method and Description |
---|---|
SessionRequest |
DefaultConnectingIOReactor.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
Object attachment,
SessionRequestCallback callback) |
Modifier and Type | Method and 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 and Description |
---|---|
SessionRequest |
ConnectingIOReactor.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
Object attachment,
SessionRequestCallback callback)
Requests a connection to a remote host.
|
Modifier and Type | Method and 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. |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.