| 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(org.apache.hc.core5.pool.ManagedConnPool<HttpRoute,ManagedAsyncClientConnection> pool,
AsyncClientConnectionOperator connectionOperator) |
| Modifier and Type | Method and Description |
|---|---|
Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator,
org.apache.hc.core5.http.HttpHost host,
SocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
Object attachment,
org.apache.hc.core5.concurrent.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,
org.apache.hc.core5.http.HttpHost host,
Object attachment)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
| Modifier and Type | Method and Description |
|---|---|
Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator,
org.apache.hc.core5.http.HttpHost host,
SocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
Object attachment,
org.apache.hc.core5.concurrent.FutureCallback<ManagedAsyncClientConnection> callback)
Initiates operation to create a connection to the remote endpoint using
the provided
ConnectionInitiator. |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.