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 |
---|---|
default Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
SocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context,
org.apache.hc.core5.concurrent.FutureCallback<ManagedAsyncClientConnection> callback)
Initiates operation to create a connection to the remote endpoint using
the provided
ConnectionInitiator . |
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 |
---|---|
default void |
AsyncClientConnectionOperator.upgrade(ManagedAsyncClientConnection conn,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context,
org.apache.hc.core5.concurrent.FutureCallback<ManagedAsyncClientConnection> callback)
Upgrades transport security of the given managed connection
by using the TLS security protocol.
|
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 |
---|---|
default Future<ManagedAsyncClientConnection> |
AsyncClientConnectionOperator.connect(org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
SocketAddress localAddress,
org.apache.hc.core5.util.Timeout connectTimeout,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context,
org.apache.hc.core5.concurrent.FutureCallback<ManagedAsyncClientConnection> callback)
Initiates operation to create a connection to the remote endpoint using
the provided
ConnectionInitiator . |
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 . |
default void |
AsyncClientConnectionOperator.upgrade(ManagedAsyncClientConnection conn,
org.apache.hc.core5.http.HttpHost endpointHost,
org.apache.hc.core5.net.NamedEndpoint endpointName,
Object attachment,
org.apache.hc.core5.http.protocol.HttpContext context,
org.apache.hc.core5.concurrent.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.