Uses of Class
org.apache.hc.client5.http.nio.AsyncConnectionEndpoint
-
Packages that use AsyncConnectionEndpoint Package Description org.apache.hc.client5.http.impl.async Asynchronous HTTP client API implementation that supports both HTTP/2 and HTTP/1.1 transport.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. -
-
Uses of AsyncConnectionEndpoint in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as AsyncConnectionEndpoint Modifier and Type Field Description private AsyncConnectionEndpointMinimalHttpAsyncClient.InternalAsyncClientEndpoint. connectionEndpointFields in org.apache.hc.client5.http.impl.async with type parameters of type AsyncConnectionEndpoint Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<AsyncConnectionEndpoint>InternalHttpAsyncExecRuntime. endpointRefMethods in org.apache.hc.client5.http.impl.async that return AsyncConnectionEndpoint Modifier and Type Method Description (package private) AsyncConnectionEndpointInternalHttpAsyncExecRuntime. ensureValid()Methods in org.apache.hc.client5.http.impl.async that return types with arguments of type AsyncConnectionEndpoint Modifier and Type Method Description private java.util.concurrent.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 AsyncConnectionEndpoint Modifier and Type Method Description private voidInternalHttpAsyncExecRuntime. discardEndpoint(AsyncConnectionEndpoint endpoint)private org.apache.hc.core5.concurrent.CancellableInternalHttpAsyncExecRuntime. doExecute(java.lang.String id, AsyncConnectionEndpoint endpoint, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler, HttpClientContext context)Method parameters in org.apache.hc.client5.http.impl.async with type arguments of type AsyncConnectionEndpoint Modifier and Type Method Description private java.util.concurrent.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 AsyncConnectionEndpoint Constructor Description InternalAsyncClientEndpoint(AsyncConnectionEndpoint connectionEndpoint) -
Uses of AsyncConnectionEndpoint in org.apache.hc.client5.http.impl.nio
Subclasses of AsyncConnectionEndpoint in org.apache.hc.client5.http.impl.nio Modifier and Type Class Description (package private) static classPoolingAsyncClientConnectionManager.InternalConnectionEndpointMethods in org.apache.hc.client5.http.impl.nio that return types with arguments of type AsyncConnectionEndpoint Modifier and Type Method Description java.util.concurrent.Future<AsyncConnectionEndpoint>PoolingAsyncClientConnectionManager. connect(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout timeout, java.lang.Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback)java.util.concurrent.Future<AsyncConnectionEndpoint>PoolingAsyncClientConnectionManager. lease(java.lang.String id, HttpRoute route, java.lang.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 AsyncConnectionEndpoint Modifier and Type Method Description private PoolingAsyncClientConnectionManager.InternalConnectionEndpointPoolingAsyncClientConnectionManager. cast(AsyncConnectionEndpoint endpoint)java.util.concurrent.Future<AsyncConnectionEndpoint>PoolingAsyncClientConnectionManager. connect(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout timeout, java.lang.Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback)voidPoolingAsyncClientConnectionManager. release(AsyncConnectionEndpoint endpoint, java.lang.Object state, org.apache.hc.core5.util.TimeValue keepAlive)voidPoolingAsyncClientConnectionManager. upgrade(AsyncConnectionEndpoint endpoint, java.lang.Object attachment, org.apache.hc.core5.http.protocol.HttpContext context)voidPoolingAsyncClientConnectionManager. upgrade(AsyncConnectionEndpoint endpoint, java.lang.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 AsyncConnectionEndpoint Modifier and Type Method Description java.util.concurrent.Future<AsyncConnectionEndpoint>PoolingAsyncClientConnectionManager. connect(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout timeout, java.lang.Object attachment, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback)java.util.concurrent.Future<AsyncConnectionEndpoint>PoolingAsyncClientConnectionManager. lease(java.lang.String id, HttpRoute route, java.lang.Object state, org.apache.hc.core5.util.Timeout requestTimeout, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback)voidPoolingAsyncClientConnectionManager. upgrade(AsyncConnectionEndpoint endpoint, java.lang.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 AsyncConnectionEndpoint Modifier and Type Method Description java.util.concurrent.Future<AsyncConnectionEndpoint>AsyncClientConnectionManager. connect(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout connectTimeout, java.lang.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).java.util.concurrent.Future<AsyncConnectionEndpoint>AsyncClientConnectionManager. lease(java.lang.String id, HttpRoute route, java.lang.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 AsyncConnectionEndpoint Modifier and Type Method Description java.util.concurrent.Future<AsyncConnectionEndpoint>AsyncClientConnectionManager. connect(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout connectTimeout, java.lang.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, java.lang.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, java.lang.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, java.lang.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 AsyncConnectionEndpoint Modifier and Type Method Description java.util.concurrent.Future<AsyncConnectionEndpoint>AsyncClientConnectionManager. connect(AsyncConnectionEndpoint endpoint, org.apache.hc.core5.reactor.ConnectionInitiator connectionInitiator, org.apache.hc.core5.util.Timeout connectTimeout, java.lang.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).java.util.concurrent.Future<AsyncConnectionEndpoint>AsyncClientConnectionManager. lease(java.lang.String id, HttpRoute route, java.lang.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, java.lang.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.
-