Uses of Class
org.apache.hc.client5.http.nio.AsyncConnectionEndpoint
Packages that use AsyncConnectionEndpoint
Package
Description
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Client connection management functions based the asynchronous
connection management APIs.
Connection management APIs based on the asynchronous I/O model.
-
Uses of AsyncConnectionEndpoint in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as AsyncConnectionEndpointModifier and TypeFieldDescriptionprivate final AsyncConnectionEndpoint
MinimalHttpAsyncClient.InternalAsyncClientEndpoint.connectionEndpoint
Fields in org.apache.hc.client5.http.impl.async with type parameters of type AsyncConnectionEndpointModifier and TypeFieldDescriptionprivate final AtomicReference
<AsyncConnectionEndpoint> InternalHttpAsyncExecRuntime.endpointRef
Methods in org.apache.hc.client5.http.impl.async that return AsyncConnectionEndpointModifier and TypeMethodDescription(package private) AsyncConnectionEndpoint
InternalHttpAsyncExecRuntime.ensureValid()
Methods in org.apache.hc.client5.http.impl.async that return types with arguments of type AsyncConnectionEndpointModifier and TypeMethodDescriptionprivate Future
<AsyncConnectionEndpoint> MinimalHttpAsyncClient.leaseEndpoint
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.util.Timeout connectionRequestTimeout, org.apache.hc.core5.util.Timeout connectTimeout, HttpClientContext clientContext, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Methods in org.apache.hc.client5.http.impl.async with parameters of type AsyncConnectionEndpointModifier and TypeMethodDescriptionprivate void
InternalHttpAsyncExecRuntime.discardEndpoint
(AsyncConnectionEndpoint endpoint) Method parameters in org.apache.hc.client5.http.impl.async with type arguments of type AsyncConnectionEndpointModifier and TypeMethodDescriptionprivate Future
<AsyncConnectionEndpoint> MinimalHttpAsyncClient.leaseEndpoint
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.util.Timeout connectionRequestTimeout, org.apache.hc.core5.util.Timeout connectTimeout, HttpClientContext clientContext, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Constructors in org.apache.hc.client5.http.impl.async with parameters of type AsyncConnectionEndpointModifierConstructorDescription(package private)
InternalAsyncClientEndpoint
(AsyncConnectionEndpoint connectionEndpoint) -
Uses of AsyncConnectionEndpoint in org.apache.hc.client5.http.impl.nio
Subclasses of AsyncConnectionEndpoint in org.apache.hc.client5.http.impl.nioModifier and TypeClassDescription(package private) static class
Methods in org.apache.hc.client5.http.impl.nio that return types with arguments of type AsyncConnectionEndpointModifier and TypeMethodDescriptionPoolingAsyncClientConnectionManager.connect
(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout timeout, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) PoolingAsyncClientConnectionManager.lease
(String id, HttpRoute route, Object state, org.apache.hc.core5.util.Timeout requestTimeout, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Methods in org.apache.hc.client5.http.impl.nio with parameters of type AsyncConnectionEndpointModifier and TypeMethodDescriptionPoolingAsyncClientConnectionManager.cast
(AsyncConnectionEndpoint endpoint) PoolingAsyncClientConnectionManager.connect
(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout timeout, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) void
PoolingAsyncClientConnectionManager.release
(AsyncConnectionEndpoint endpoint, Object state, org.apache.hc.core5.util.TimeValue keepAlive) void
PoolingAsyncClientConnectionManager.upgrade
(AsyncConnectionEndpoint endpoint, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context) void
PoolingAsyncClientConnectionManager.upgrade
(AsyncConnectionEndpoint endpoint, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Method parameters in org.apache.hc.client5.http.impl.nio with type arguments of type AsyncConnectionEndpointModifier and TypeMethodDescriptionPoolingAsyncClientConnectionManager.connect
(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout timeout, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) PoolingAsyncClientConnectionManager.lease
(String id, HttpRoute route, Object state, org.apache.hc.core5.util.Timeout requestTimeout, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) void
PoolingAsyncClientConnectionManager.upgrade
(AsyncConnectionEndpoint endpoint, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) -
Uses of AsyncConnectionEndpoint in org.apache.hc.client5.http.nio
Methods in org.apache.hc.client5.http.nio that return types with arguments of type AsyncConnectionEndpointModifier and TypeMethodDescriptionAsyncClientConnectionManager.connect
(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout connectTimeout, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Connects the endpoint to the initial hop (connection target in case of a direct route or to the first proxy hop in case of a route via a proxy or multiple proxies).AsyncClientConnectionManager.lease
(String id, HttpRoute route, Object state, org.apache.hc.core5.util.Timeout requestTimeout, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Returns aFuture
object which can be used to obtain anAsyncConnectionEndpoint
or to cancel the request by callingFuture.cancel(boolean)
.Methods in org.apache.hc.client5.http.nio with parameters of type AsyncConnectionEndpointModifier and TypeMethodDescriptionAsyncClientConnectionManager.connect
(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout connectTimeout, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Connects the endpoint to the initial hop (connection target in case of a direct route or to the first proxy hop in case of a route via a proxy or multiple proxies).void
AsyncClientConnectionManager.release
(AsyncConnectionEndpoint endpoint, Object newState, org.apache.hc.core5.util.TimeValue validDuration) Releases the endpoint back to the manager making it potentially re-usable by other consumers.void
AsyncClientConnectionManager.upgrade
(AsyncConnectionEndpoint endpoint, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context) Upgrades transport security of the given endpoint by using the TLS security protocol.default void
AsyncClientConnectionManager.upgrade
(AsyncConnectionEndpoint endpoint, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Upgrades transport security of the given endpoint by using the TLS security protocol.Method parameters in org.apache.hc.client5.http.nio with type arguments of type AsyncConnectionEndpointModifier and TypeMethodDescriptionAsyncClientConnectionManager.connect
(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout connectTimeout, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Connects the endpoint to the initial hop (connection target in case of a direct route or to the first proxy hop in case of a route via a proxy or multiple proxies).AsyncClientConnectionManager.lease
(String id, HttpRoute route, Object state, org.apache.hc.core5.util.Timeout requestTimeout, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Returns aFuture
object which can be used to obtain anAsyncConnectionEndpoint
or to cancel the request by callingFuture.cancel(boolean)
.default void
AsyncClientConnectionManager.upgrade
(AsyncConnectionEndpoint endpoint, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) Upgrades transport security of the given endpoint by using the TLS security protocol.