Package | Description |
---|---|
org.apache.hc.client5.http.impl.nio |
Client connection management functions based the asynchronous
connection management APIs.
|
org.apache.hc.client5.http.nio |
Connection management APIs based on the asynchronous I/O model.
|
Constructor and Description |
---|
PoolingAsyncClientConnectionManager(ManagedConnPool<HttpRoute,ManagedAsyncClientConnection> pool,
AsyncClientConnectionOperator connectionOperator) |
Modifier and Type | Method and Description |
---|---|
Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(ConnectionInitiator connectionInitiator,
HttpHost host,
SocketAddress localAddress,
Timeout connectTimeout,
Object attachment,
FutureCallback<ManagedAsyncClientConnection> callback)
Initiates operation to create a connection to the remote endpoint using
the provided
ConnectionInitiator . |
default Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(ConnectionInitiator connectionInitiator,
HttpHost host,
SocketAddress localAddress,
Timeout connectTimeout,
Object attachment,
HttpContext context,
FutureCallback<ManagedAsyncClientConnection> callback)
Initiates operation to create a connection to the remote endpoint using
the provided
ConnectionInitiator . |
Modifier and Type | Method and Description |
---|---|
void |
AsyncClientConnectionOperator.upgrade(ManagedAsyncClientConnection conn,
HttpHost host,
Object attachment)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
default void |
AsyncClientConnectionOperator.upgrade(ManagedAsyncClientConnection conn,
HttpHost host,
Object attachment,
HttpContext context)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
default void |
AsyncClientConnectionOperator.upgrade(ManagedAsyncClientConnection conn,
HttpHost host,
Object attachment,
HttpContext context,
FutureCallback<ManagedAsyncClientConnection> callback)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
Modifier and Type | Method and Description |
---|---|
Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(ConnectionInitiator connectionInitiator,
HttpHost host,
SocketAddress localAddress,
Timeout connectTimeout,
Object attachment,
FutureCallback<ManagedAsyncClientConnection> callback)
Initiates operation to create a connection to the remote endpoint using
the provided
ConnectionInitiator . |
default Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(ConnectionInitiator connectionInitiator,
HttpHost host,
SocketAddress localAddress,
Timeout connectTimeout,
Object attachment,
HttpContext context,
FutureCallback<ManagedAsyncClientConnection> callback)
Initiates operation to create a connection to the remote endpoint using
the provided
ConnectionInitiator . |
default void |
AsyncClientConnectionOperator.upgrade(ManagedAsyncClientConnection conn,
HttpHost host,
Object attachment,
HttpContext context,
FutureCallback<ManagedAsyncClientConnection> callback)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.