## Uses of Class
org.apache.hc.client5.http.HttpRoute

Packages that use HttpRoute
Package | Description
--- | ---
org.apache.hc.client5.http |
org.apache.hc.client5.http.impl.io | Default implementations of client connection management functions.
org.apache.hc.client5.http.impl.protocol |
org.apache.hc.client5.http.impl.routing |
org.apache.hc.client5.http.impl.sync | Default HTTP client implementation.
org.apache.hc.client5.http.io |
org.apache.hc.client5.http.protocol | Client specific HTTP protocol handlers.
org.apache.hc.client5.http.routing | Client connection routing APIs.
org.apache.hc.client5.http.sync | Client HTTP communication APIs.

### Uses of HttpRoute in org.apache.hc.client5.http

Methods in org.apache.hc.client5.http that return HttpRoute
Modifier and Type | Method and Description
--- | ---
`HttpRoute` | RouteTracker.`toRoute()` Obtains the tracked route.

Constructors in org.apache.hc.client5.http with parameters of type HttpRoute
Constructor and Description
`RouteTracker(HttpRoute route)` Creates a new tracker for the given route.

### Uses of HttpRoute in org.apache.hc.client5.http.impl.io

Methods in org.apache.hc.client5.http.impl.io that return types with arguments of type HttpRoute
Modifier and Type | Method and Description
--- | ---
`Set<HttpRoute>` | PoolingHttpClientConnectionManager.`getRoutes()`

Methods in org.apache.hc.client5.http.impl.io with parameters of type HttpRoute
Modifier and Type | Method and Description
--- | ---
`void` | BasicHttpClientConnectionManager.`connect(org.apache.hc.core5.http.io.HttpClientConnection conn, HttpRoute route, int connectTimeout, org.apache.hc.core5.http.protocol.HttpContext context)`
`void` | PoolingHttpClientConnectionManager.`connect(org.apache.hc.core5.http.io.HttpClientConnection managedConn, HttpRoute route, int connectTimeout, org.apache.hc.core5.http.protocol.HttpContext context)`
`ManagedHttpClientConnection` | ManagedHttpClientConnectionFactory.`create(HttpRoute route, org.apache.hc.core5.http.config.ConnectionConfig config)`
`int` | PoolingHttpClientConnectionManager.`getMaxPerRoute(HttpRoute route)`
`org.apache.hc.core5.pool.PoolStats` | PoolingHttpClientConnectionManager.`getStats(HttpRoute route)`
`ConnectionRequest` | BasicHttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)`
`ConnectionRequest` | PoolingHttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)`
`void` | BasicHttpClientConnectionManager.`routeComplete(org.apache.hc.core5.http.io.HttpClientConnection conn, HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)`
`void` | PoolingHttpClientConnectionManager.`routeComplete(org.apache.hc.core5.http.io.HttpClientConnection managedConn, HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)`
`void` | PoolingHttpClientConnectionManager.`setMaxPerRoute(HttpRoute route, int max)`
`void` | BasicHttpClientConnectionManager.`upgrade(org.apache.hc.core5.http.io.HttpClientConnection conn, HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)`
`void` | PoolingHttpClientConnectionManager.`upgrade(org.apache.hc.core5.http.io.HttpClientConnection managedConn, HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)`

Constructor parameters in org.apache.hc.client5.http.impl.io with type arguments of type HttpRoute
Constructor and Description
`BasicHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)`
`BasicHttpClientConnectionManager(org.apache.hc.core5.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)`
`BasicHttpClientConnectionManager(org.apache.hc.core5.http.config.Lookup<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, SchemePortResolver schemePortResolver, DnsResolver dnsResolver)`
`PoolingHttpClientConnectionManager(HttpClientConnectionOperator httpClientConnectionOperator, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, long timeToLive, TimeUnit tunit)`
`PoolingHttpClientConnectionManager(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)`
`PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)`
`PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, DnsResolver dnsResolver)`
`PoolingHttpClientConnectionManager(org.apache.hc.core5.http.config.Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, SchemePortResolver schemePortResolver, DnsResolver dnsResolver, long timeToLive, TimeUnit tunit)`

### Uses of HttpRoute in org.apache.hc.client5.http.impl.protocol

Methods in org.apache.hc.client5.http.impl.protocol with parameters of type HttpRoute
Modifier and Type | Method and Description
--- | ---
`Object` | DefaultUserTokenHandler.`getUserToken(HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)`

### Uses of HttpRoute in org.apache.hc.client5.http.impl.routing

Methods in org.apache.hc.client5.http.impl.routing that return HttpRoute
Modifier and Type | Method and Description
--- | ---
`HttpRoute` | DefaultRoutePlanner.`determineRoute(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)`

### Uses of HttpRoute in org.apache.hc.client5.http.impl.sync

Methods in org.apache.hc.client5.http.impl.sync with parameters of type HttpRoute
Modifier and Type | Method and Description
--- | ---
`void` | AIMDBackoffManager.`backOff(HttpRoute route)`
`CloseableHttpResponse` | BackoffStrategyExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | RetryExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | ClientExecChain.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext clientContext, HttpExecutionAware execAware)` Executes th request either by transmitting it to the target server or by passing it onto the next executor in the request execution chain.
`CloseableHttpResponse` | RedirectExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | MainClientExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | MinimalClientExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | ProtocolExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | ServiceUnavailableRetryExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`Object` | NoopUserTokenHandler.`getUserToken(HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)`
`void` | AIMDBackoffManager.`probe(HttpRoute route)`

Constructor parameters in org.apache.hc.client5.http.impl.sync with type arguments of type HttpRoute
Constructor and Description
`AIMDBackoffManager(org.apache.hc.core5.pool.ConnPoolControl<HttpRoute> connPerRoute)` Creates an `AIMDBackoffManager` to manage per-host connection pool sizes represented by the given `ConnPoolControl`.
`ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, org.apache.hc.core5.http.config.ConnectionConfig connectionConfig, RequestConfig requestConfig)`

### Uses of HttpRoute in org.apache.hc.client5.http.io

Methods in org.apache.hc.client5.http.io with parameters of type HttpRoute
Modifier and Type | Method and Description
--- | ---
`void` | HttpClientConnectionManager.`connect(org.apache.hc.core5.http.io.HttpClientConnection conn, HttpRoute route, int connectTimeout, org.apache.hc.core5.http.protocol.HttpContext context)` Connects the underlying connection socket to the 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).
`ConnectionRequest` | HttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)` Returns a new `ConnectionRequest`, from which a `HttpClientConnection` can be obtained or the request can be aborted.
`void` | HttpClientConnectionManager.`routeComplete(org.apache.hc.core5.http.io.HttpClientConnection conn, HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)` Marks the connection as fully established with all its intermediate hops completed.
`void` | HttpClientConnectionManager.`upgrade(org.apache.hc.core5.http.io.HttpClientConnection conn, HttpRoute route, org.apache.hc.core5.http.protocol.HttpContext context)` Upgrades the underlying connection socket to TLS/SSL (or another layering protocol) after having executed `CONNECT` method to all intermediate proxy hops

### Uses of HttpRoute in org.apache.hc.client5.http.protocol

Methods in org.apache.hc.client5.http.protocol with parameters of type HttpRoute
Modifier and Type | Method and Description
--- | ---
`Object` | 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 be `null` if it is not.

### Uses of HttpRoute in org.apache.hc.client5.http.routing

Methods in org.apache.hc.client5.http.routing that return HttpRoute
Modifier and Type | Method and Description
--- | ---
`HttpRoute` | HttpRoutePlanner.`determineRoute(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)` Determines the route for a request.

### Uses of HttpRoute in org.apache.hc.client5.http.sync

Methods in org.apache.hc.client5.http.sync with parameters of type HttpRoute
Modifier and Type | Method and Description
--- | ---
`void` | BackoffManager.`backOff(HttpRoute route)` Called when we have decided that the result of using a connection should be interpreted as a backoff signal.
`void` | BackoffManager.`probe(HttpRoute route)` Called when we have determined that the result of using a connection has succeeded and that we may probe for more connections.