Uses of Class
org.apache.hc.client5.http.HttpRoute
Packages that use HttpRoute
Package
Description
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
HTTP client APIs based on the asynchronous, event driven I/O model.
HTTP client APIs based on the classic (blocking) I/O model.
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
Client connection management functions based the classic
connection management APIs.
Client connection management functions based the asynchronous
connection management APIs.
Standard client connection routing API implementations.
Connection management APIs based on the classic (blocking) I/O model.
Connection management APIs based on the asynchronous I/O model.
Client connection routing APIs.
-
Uses of HttpRoute in org.apache.hc.client5.http
Methods in org.apache.hc.client5.http that return HttpRouteMethods in org.apache.hc.client5.http with parameters of type HttpRouteModifier and TypeMethodDescriptiondefault ObjectUserTokenHandler.getUserToken(HttpRoute route, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) The token object returned by this method is expected to uniquely identify the current user if the context is user specific or to benullif it is not.UserTokenHandler.getUserToken(HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context) The token object returned by this method is expected to uniquely identify the current user if the context is user specific or to benullif it is not.Constructors in org.apache.hc.client5.http with parameters of type HttpRouteModifierConstructorDescriptionRouteTracker(HttpRoute route) Creates a new tracker for the given route. -
Uses of HttpRoute in org.apache.hc.client5.http.async
Fields in org.apache.hc.client5.http.async declared as HttpRouteMethods in org.apache.hc.client5.http.async with parameters of type HttpRouteModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.CancellableAsyncExecRuntime.acquireEndpoint(String id, HttpRoute route, Object state, HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) Initiates operation to acquire a connection endpoint.Constructors in org.apache.hc.client5.http.async with parameters of type HttpRouteModifierConstructorDescriptionScope(String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime) Deprecated.Scope(String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime, AsyncExecChain.Scheduler scheduler, AtomicInteger execCount) -
Uses of HttpRoute in org.apache.hc.client5.http.classic
Fields in org.apache.hc.client5.http.classic declared as HttpRouteMethods in org.apache.hc.client5.http.classic with parameters of type HttpRouteModifier and TypeMethodDescriptionvoidExecRuntime.acquireEndpoint(String id, HttpRoute route, Object state, HttpClientContext context) Acquires a connection endpoint.voidCalled when we have decided that the result of using a connection should be interpreted as a backoff signal.voidCalled when we have determined that the result of using a connection has succeeded and that we may probe for more connections.Constructors in org.apache.hc.client5.http.classic with parameters of type HttpRouteModifierConstructorDescriptionScope(String exchangeId, HttpRoute route, org.apache.hc.core5.http.ClassicHttpRequest originalRequest, ExecRuntime execRuntime, HttpClientContext clientContext) -
Uses of HttpRoute in org.apache.hc.client5.http.impl
Methods in org.apache.hc.client5.http.impl with parameters of type HttpRouteModifier and TypeMethodDescriptionstatic StringConnPoolSupport.formatStats(HttpRoute route, Object state, org.apache.hc.core5.pool.ConnPoolControl<HttpRoute> connPool) DefaultUserTokenHandler.getUserToken(HttpRoute route, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) DefaultUserTokenHandler.getUserToken(HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context) NoopUserTokenHandler.getUserToken(HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context) Method parameters in org.apache.hc.client5.http.impl with type arguments of type HttpRouteModifier and TypeMethodDescriptionstatic StringConnPoolSupport.formatStats(HttpRoute route, Object state, org.apache.hc.core5.pool.ConnPoolControl<HttpRoute> connPool) -
Uses of HttpRoute in org.apache.hc.client5.http.impl.async
Methods in org.apache.hc.client5.http.impl.async that return HttpRouteModifier and TypeMethodDescription(package private) abstract HttpRouteInternalAbstractHttpAsyncClient.determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext) (package private) HttpRouteInternalH2AsyncClient.determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext) (package private) HttpRouteInternalHttpAsyncClient.determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext) Methods in org.apache.hc.client5.http.impl.async with parameters of type HttpRouteModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.CancellableInternalH2AsyncExecRuntime.acquireEndpoint(String id, HttpRoute route, Object object, HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) org.apache.hc.core5.concurrent.CancellableInternalHttpAsyncExecRuntime.acquireEndpoint(String id, HttpRoute route, Object object, HttpClientContext context, org.apache.hc.core5.concurrent.FutureCallback<AsyncExecRuntime> callback) Constructors in org.apache.hc.client5.http.impl.async with parameters of type HttpRoute -
Uses of HttpRoute in org.apache.hc.client5.http.impl.classic
Fields in org.apache.hc.client5.http.impl.classic with type parameters of type HttpRouteModifier and TypeFieldDescriptionprivate final org.apache.hc.core5.pool.ConnPoolControl<HttpRoute>AIMDBackoffManager.connPerRouteAIMDBackoffManager.lastRouteBackoffsAIMDBackoffManager.lastRouteProbesMethods in org.apache.hc.client5.http.impl.classic that return HttpRouteModifier and TypeMethodDescriptionprivate HttpRouteInternalHttpClient.determineRoute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.protocol.HttpContext context) Methods in org.apache.hc.client5.http.impl.classic with parameters of type HttpRouteModifier and TypeMethodDescriptionvoidInternalExecRuntime.acquireEndpoint(String id, HttpRoute route, Object object, HttpClientContext context) voidprivate booleanConnectExec.createTunnelToProxy(HttpRoute route, int hop, HttpClientContext context) Creates a tunnel to an intermediate proxy.private booleanConnectExec.createTunnelToTarget(String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest request, ExecRuntime execRuntime, HttpClientContext context) Creates a tunnel to the target server.private LongAIMDBackoffManager.getLastUpdate(Map<HttpRoute, Long> updates, HttpRoute route) voidMethod parameters in org.apache.hc.client5.http.impl.classic with type arguments of type HttpRouteModifier and TypeMethodDescriptionprivate LongAIMDBackoffManager.getLastUpdate(Map<HttpRoute, Long> updates, HttpRoute route) Constructor parameters in org.apache.hc.client5.http.impl.classic with type arguments of type HttpRouteModifierConstructorDescriptionAIMDBackoffManager(org.apache.hc.core5.pool.ConnPoolControl<HttpRoute> connPerRoute) Creates anAIMDBackoffManagerto manage per-host connection pool sizes represented by the givenConnPoolControl.(package private)AIMDBackoffManager(org.apache.hc.core5.pool.ConnPoolControl<HttpRoute> connPerRoute, Clock clock) -
Uses of HttpRoute in org.apache.hc.client5.http.impl.io
Fields in org.apache.hc.client5.http.impl.io declared as HttpRouteModifier and TypeFieldDescriptionprivate final HttpRouteBasicHttpClientConnectionManager.InternalConnectionEndpoint.routeprivate HttpRouteBasicHttpClientConnectionManager.routeFields in org.apache.hc.client5.http.impl.io with type parameters of type HttpRouteModifier and TypeFieldDescriptionprivate org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> PoolingHttpClientConnectionManager.connectionConfigResolverprivate org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> PoolingHttpClientConnectionManagerBuilder.connectionConfigResolverprivate final org.apache.hc.core5.pool.ManagedConnPool<HttpRoute,ManagedHttpClientConnection> PoolingHttpClientConnectionManager.poolprivate final AtomicReference<org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedHttpClientConnection>> PoolingHttpClientConnectionManager.InternalConnectionEndpoint.poolEntryRefprivate org.apache.hc.core5.function.Resolver<HttpRoute,org.apache.hc.core5.http.io.SocketConfig> PoolingHttpClientConnectionManager.socketConfigResolverprivate org.apache.hc.core5.function.Resolver<HttpRoute,org.apache.hc.core5.http.io.SocketConfig> PoolingHttpClientConnectionManagerBuilder.socketConfigResolverMethods in org.apache.hc.client5.http.impl.io that return HttpRouteModifier and TypeMethodDescription(package private) HttpRouteBasicHttpClientConnectionManager.getRoute()(package private) HttpRouteBasicHttpClientConnectionManager.InternalConnectionEndpoint.getRoute()Methods in org.apache.hc.client5.http.impl.io that return types with arguments of type HttpRouteModifier and TypeMethodDescription(package private) org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedHttpClientConnection> PoolingHttpClientConnectionManager.InternalConnectionEndpoint.detach()(package private) org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedHttpClientConnection> PoolingHttpClientConnectionManager.InternalConnectionEndpoint.getPoolEntry()PoolingHttpClientConnectionManager.getRoutes()(package private) org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedHttpClientConnection> PoolingHttpClientConnectionManager.InternalConnectionEndpoint.getValidatedPoolEntry()Methods in org.apache.hc.client5.http.impl.io with parameters of type HttpRouteModifier and TypeMethodDescription(package private) ManagedHttpClientConnectionBasicHttpClientConnectionManager.getConnection(HttpRoute route, Object state) intPoolingHttpClientConnectionManager.getMaxPerRoute(HttpRoute route) org.apache.hc.core5.pool.PoolStatsBasicHttpClientConnectionManager.lease(String id, HttpRoute route, org.apache.hc.core5.util.Timeout requestTimeout, Object state) PoolingHttpClientConnectionManager.lease(String id, HttpRoute route, org.apache.hc.core5.util.Timeout requestTimeout, Object state) private ConnectionConfigPoolingHttpClientConnectionManager.resolveConnectionConfig(HttpRoute route) private org.apache.hc.core5.http.io.SocketConfigPoolingHttpClientConnectionManager.resolveSocketConfig(HttpRoute route) voidPoolingHttpClientConnectionManager.setMaxPerRoute(HttpRoute route, int max) Method parameters in org.apache.hc.client5.http.impl.io with type arguments of type HttpRouteModifier and TypeMethodDescription(package private) voidPoolingHttpClientConnectionManager.closeIfExpired(org.apache.hc.core5.pool.PoolEntry<HttpRoute, ManagedHttpClientConnection> entry) voidPoolingHttpClientConnectionManager.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute, ConnectionConfig> connectionConfigResolver) SetsResolverofConnectionConfigon a per route basis.PoolingHttpClientConnectionManagerBuilder.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute, ConnectionConfig> connectionConfigResolver) AssignsResolverofConnectionConfigon a per route basis.voidPoolingHttpClientConnectionManager.setSocketConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute, org.apache.hc.core5.http.io.SocketConfig> socketConfigResolver) SetsResolverofSocketConfigon a per route basis.PoolingHttpClientConnectionManagerBuilder.setSocketConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute, org.apache.hc.core5.http.io.SocketConfig> socketConfigResolver) AssignsResolverofSocketConfigon a per route basis.Constructors in org.apache.hc.client5.http.impl.io with parameters of type HttpRouteModifierConstructorDescriptionConstructor parameters in org.apache.hc.client5.http.impl.io with type arguments of type HttpRouteModifierConstructorDescription(package private)InternalConnectionEndpoint(org.apache.hc.core5.pool.PoolEntry<HttpRoute, ManagedHttpClientConnection> poolEntry) protectedPoolingHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator, org.apache.hc.core5.pool.ManagedConnPool<HttpRoute, ManagedHttpClientConnection> pool, org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection> connFactory) -
Uses of HttpRoute in org.apache.hc.client5.http.impl.nio
Fields in org.apache.hc.client5.http.impl.nio with type parameters of type HttpRouteModifier and TypeFieldDescriptionprivate org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> PoolingAsyncClientConnectionManager.connectionConfigResolverprivate org.apache.hc.core5.function.Resolver<HttpRoute,ConnectionConfig> PoolingAsyncClientConnectionManagerBuilder.connectionConfigResolverprivate final org.apache.hc.core5.pool.ManagedConnPool<HttpRoute,ManagedAsyncClientConnection> PoolingAsyncClientConnectionManager.poolprivate final AtomicReference<org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedAsyncClientConnection>> PoolingAsyncClientConnectionManager.InternalConnectionEndpoint.poolEntryRefMethods in org.apache.hc.client5.http.impl.nio that return types with arguments of type HttpRouteModifier and TypeMethodDescription(package private) org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedAsyncClientConnection> PoolingAsyncClientConnectionManager.InternalConnectionEndpoint.detach()(package private) org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedAsyncClientConnection> PoolingAsyncClientConnectionManager.InternalConnectionEndpoint.getPoolEntry()PoolingAsyncClientConnectionManager.getRoutes()(package private) org.apache.hc.core5.pool.PoolEntry<HttpRoute,ManagedAsyncClientConnection> PoolingAsyncClientConnectionManager.InternalConnectionEndpoint.getValidatedPoolEntry()Methods in org.apache.hc.client5.http.impl.nio with parameters of type HttpRouteModifier and TypeMethodDescriptionintPoolingAsyncClientConnectionManager.getMaxPerRoute(HttpRoute route) org.apache.hc.core5.pool.PoolStatsPoolingAsyncClientConnectionManager.lease(String id, HttpRoute route, Object state, org.apache.hc.core5.util.Timeout requestTimeout, org.apache.hc.core5.concurrent.FutureCallback<AsyncConnectionEndpoint> callback) private ConnectionConfigPoolingAsyncClientConnectionManager.resolveConnectionConfig(HttpRoute route) voidPoolingAsyncClientConnectionManager.setMaxPerRoute(HttpRoute route, int max) Method parameters in org.apache.hc.client5.http.impl.nio with type arguments of type HttpRouteModifier and TypeMethodDescription(package private) voidPoolingAsyncClientConnectionManager.closeIfExpired(org.apache.hc.core5.pool.PoolEntry<HttpRoute, ManagedAsyncClientConnection> entry) voidPoolingAsyncClientConnectionManager.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute, ConnectionConfig> connectionConfigResolver) SetsResolverofConnectionConfigon a per route basis.PoolingAsyncClientConnectionManagerBuilder.setConnectionConfigResolver(org.apache.hc.core5.function.Resolver<HttpRoute, ConnectionConfig> connectionConfigResolver) AssignsResolverofConnectionConfigon a per route basis.Constructor parameters in org.apache.hc.client5.http.impl.nio with type arguments of type HttpRouteModifierConstructorDescription(package private)InternalConnectionEndpoint(org.apache.hc.core5.pool.PoolEntry<HttpRoute, ManagedAsyncClientConnection> poolEntry) protectedPoolingAsyncClientConnectionManager(org.apache.hc.core5.pool.ManagedConnPool<HttpRoute, ManagedAsyncClientConnection> pool, AsyncClientConnectionOperator connectionOperator) -
Uses of HttpRoute in org.apache.hc.client5.http.impl.routing
Methods in org.apache.hc.client5.http.impl.routing that return HttpRouteModifier and TypeMethodDescriptionfinal HttpRouteDefaultRoutePlanner.determineRoute(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.protocol.HttpContext context) -
Uses of HttpRoute in org.apache.hc.client5.http.io
Methods in org.apache.hc.client5.http.io with parameters of type HttpRouteModifier and TypeMethodDescriptionHttpClientConnectionManager.lease(String id, HttpRoute route, org.apache.hc.core5.util.Timeout requestTimeout, Object state) Returns aLeaseRequestobject which can be used to obtain aConnectionEndpointto cancel the request by callingCancellable.cancel(). -
Uses of HttpRoute in org.apache.hc.client5.http.nio
Methods in org.apache.hc.client5.http.nio with parameters of type HttpRouteModifier and TypeMethodDescriptionAsyncClientConnectionManager.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). -
Uses of HttpRoute in org.apache.hc.client5.http.routing
Methods in org.apache.hc.client5.http.routing that return HttpRouteModifier and TypeMethodDescriptionHttpRoutePlanner.determineRoute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.protocol.HttpContext context) Determines the route for the given host.
Scope(String, HttpRoute, HttpRequest, CancellableDependency, HttpClientContext, AsyncExecRuntime, Scheduler, AtomicInteger)