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 AsyncConnectionEndpoint
MinimalHttpAsyncClient.InternalAsyncClientEndpoint. connectionEndpoint
Fields 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. endpointRef
Methods in org.apache.hc.client5.http.impl.async that return AsyncConnectionEndpoint Modifier and Type Method Description (package private) AsyncConnectionEndpoint
InternalHttpAsyncExecRuntime. 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 void
InternalHttpAsyncExecRuntime. discardEndpoint(AsyncConnectionEndpoint endpoint)
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 class
PoolingAsyncClientConnectionManager.InternalConnectionEndpoint
Methods 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.InternalConnectionEndpoint
PoolingAsyncClientConnectionManager. 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)
void
PoolingAsyncClientConnectionManager. release(AsyncConnectionEndpoint endpoint, java.lang.Object state, org.apache.hc.core5.util.TimeValue keepAlive)
void
PoolingAsyncClientConnectionManager. upgrade(AsyncConnectionEndpoint endpoint, java.lang.Object attachment, org.apache.hc.core5.http.protocol.HttpContext context)
void
PoolingAsyncClientConnectionManager. 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)
void
PoolingAsyncClientConnectionManager. 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 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 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).void
AsyncClientConnectionManager. 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.void
AsyncClientConnectionManager. 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 void
AsyncClientConnectionManager. 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 aFuture
object which can be used to obtain anAsyncConnectionEndpoint
or to cancel the request by callingFuture.cancel(boolean)
.default void
AsyncClientConnectionManager. 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.
-