Uses of Class
org.apache.hc.client5.http.nio.AsyncConnectionEndpoint
-
Packages that use AsyncConnectionEndpoint 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. -
-
Uses of AsyncConnectionEndpoint in org.apache.hc.client5.http.impl.nio
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 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.
-