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 AsyncConnectionEndpointMinimalHttpAsyncClient.InternalAsyncClientEndpoint.connectionEndpointFields in org.apache.hc.client5.http.impl.async with type parameters of type AsyncConnectionEndpointModifier and TypeFieldDescriptionprivate final AtomicReference<AsyncConnectionEndpoint> InternalHttpAsyncExecRuntime.endpointRefMethods in org.apache.hc.client5.http.impl.async that return AsyncConnectionEndpointModifier and TypeMethodDescription(package private) AsyncConnectionEndpointInternalHttpAsyncExecRuntime.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 voidInternalHttpAsyncExecRuntime.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 classMethods 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) voidPoolingAsyncClientConnectionManager.release(AsyncConnectionEndpoint endpoint, Object state, org.apache.hc.core5.util.TimeValue keepAlive) voidPoolingAsyncClientConnectionManager.upgrade(AsyncConnectionEndpoint endpoint, Object attachment, org.apache.hc.core5.http.protocol.HttpContext context) voidPoolingAsyncClientConnectionManager.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) voidPoolingAsyncClientConnectionManager.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 aFutureobject which can be used to obtain anAsyncConnectionEndpointor 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).voidAsyncClientConnectionManager.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.voidAsyncClientConnectionManager.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 voidAsyncClientConnectionManager.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 aFutureobject which can be used to obtain anAsyncConnectionEndpointor to cancel the request by callingFuture.cancel(boolean).default voidAsyncClientConnectionManager.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.