## Uses of Class
org.apache.http.conn.routing.HttpRoute

- Packages that use HttpRoute
  Package | Description
  --- | ---
  org.apache.http.client | Client HTTP communication APIs.
  org.apache.http.conn | Client connection management APIs.
  org.apache.http.conn.params | Deprecated.
  org.apache.http.conn.routing | Client connection routing APIs.
  org.apache.http.impl.client | Default HTTP client implementation.
  org.apache.http.impl.client.cache | This package contains a cache module that can be used for HTTP/1.1 client-side caching.
  org.apache.http.impl.conn | Default implementations of client connection management functions.
  org.apache.http.impl.conn.tsccm | Deprecated.
  org.apache.http.impl.execchain | HTTP request execution chain APIs.

- - ### Uses of HttpRoute in org.apache.http.client

    Methods in org.apache.http.client 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.

  - ### Uses of HttpRoute in org.apache.http.conn

    Methods in org.apache.http.conn that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `HttpRoute` | HttpRoutedConnection.`getRoute()` Deprecated. Obtains the current route of this connection.
    `HttpRoute` | ManagedClientConnection.`getRoute()` Deprecated. Obtains the current route of this connection.

    Methods in org.apache.http.conn with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpClientConnectionManager.`connect(org.apache.http.HttpClientConnection conn, HttpRoute route, int connectTimeout, org.apache.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).
    `void` | ManagedClientConnection.`open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)` Deprecated. Opens this connection according to the given route.
    `ConnectionRequest` | HttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)` Returns a new `ConnectionRequest`, from which a `HttpClientConnection` can be obtained or the request can be aborted.
    `ClientConnectionRequest` | ClientConnectionManager.`requestConnection(HttpRoute route, Object state)` Deprecated. Returns a new `ClientConnectionRequest`, from which a `ManagedClientConnection` can be obtained or the request can be aborted.
    `void` | HttpClientConnectionManager.`routeComplete(org.apache.http.HttpClientConnection conn, HttpRoute route, org.apache.http.protocol.HttpContext context)` Marks the connection as fully established with all its intermediate hops completed.
    `void` | HttpClientConnectionManager.`upgrade(org.apache.http.HttpClientConnection conn, HttpRoute route, org.apache.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.http.conn.params

    Fields in org.apache.http.conn.params declared as HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `static HttpRoute` | ConnRouteParams.`NO_ROUTE` Deprecated. A special value indicating "no route".

    Methods in org.apache.http.conn.params that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `static HttpRoute` | ConnRouteParams.`getForcedRoute(org.apache.http.params.HttpParams params)` Deprecated. Obtains the `FORCED_ROUTE` parameter value.

    Methods in org.apache.http.conn.params with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `int` | ConnPerRouteBean.`getMaxForRoute(HttpRoute route)` Deprecated.
    `int` | ConnPerRoute.`getMaxForRoute(HttpRoute route)` Deprecated.
    `static void` | ConnRouteParams.`setForcedRoute(org.apache.http.params.HttpParams params, HttpRoute route)` Deprecated. Sets the `FORCED_ROUTE` parameter value.
    `void` | ConnRouteParamBean.`setForcedRoute(HttpRoute route)` Deprecated.
    `void` | ConnPerRouteBean.`setMaxForRoute(HttpRoute route, int max)` Deprecated.

    Method parameters in org.apache.http.conn.params with type arguments of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | ConnPerRouteBean.`setMaxForRoutes(Map<HttpRoute,Integer> map)` Deprecated.

  - ### Uses of HttpRoute in org.apache.http.conn.routing

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

    Constructors in org.apache.http.conn.routing 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.http.impl.client

    Fields in org.apache.http.impl.client declared as HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `protected HttpRoute` | RoutedRequest.`route` Deprecated.

    Methods in org.apache.http.impl.client that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpRoute` | DefaultRequestDirector.`determineRoute(org.apache.http.HttpHost targetHost, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)` Deprecated. Determines the route for a request.
    `HttpRoute` | RoutedRequest.`getRoute()` Deprecated.

    Methods in org.apache.http.impl.client with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | AIMDBackoffManager.`backOff(HttpRoute route)`
    `protected org.apache.http.HttpRequest` | DefaultRequestDirector.`createConnectRequest(HttpRoute route, org.apache.http.protocol.HttpContext context)` Deprecated. Creates the CONNECT request for tunnelling.
    `protected boolean` | DefaultRequestDirector.`createTunnelToProxy(HttpRoute route, int hop, org.apache.http.protocol.HttpContext context)` Deprecated. Creates a tunnel to an intermediate proxy.
    `protected boolean` | DefaultRequestDirector.`createTunnelToTarget(HttpRoute route, org.apache.http.protocol.HttpContext context)` Deprecated. Creates a tunnel to the target server.
    `protected void` | DefaultRequestDirector.`establishRoute(HttpRoute route, org.apache.http.protocol.HttpContext context)` Deprecated. Establishes the target route.
    `void` | AIMDBackoffManager.`probe(HttpRoute route)`
    `protected void` | DefaultRequestDirector.`rewriteRequestURI(RequestWrapper request, HttpRoute route)` Deprecated.

    Constructors in org.apache.http.impl.client with parameters of type HttpRoute
    Constructor and Description
    `RoutedRequest(RequestWrapper req, HttpRoute route)` Deprecated. Creates a new routed request.

    Constructor parameters in org.apache.http.impl.client with type arguments of type HttpRoute
    Constructor and Description
    `AIMDBackoffManager(org.apache.http.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.http.config.ConnectionConfig connectionConfig, RequestConfig requestConfig)`

  - ### Uses of HttpRoute in org.apache.http.impl.client.cache

    Methods in org.apache.http.impl.client.cache with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `CloseableHttpResponse` | CachingExec.`execute(HttpRoute route, HttpRequestWrapper request)`
    `CloseableHttpResponse` | CachingExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context)`
    `CloseableHttpResponse` | CachingExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`

  - ### Uses of HttpRoute in org.apache.http.impl.conn

    Fields in org.apache.http.impl.conn declared as HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `protected HttpRoute` | AbstractPoolEntry.`route` Deprecated. The route for which this entry gets allocated.

    Methods in org.apache.http.impl.conn that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `HttpRoute` | DefaultHttpRoutePlanner.`determineRoute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)` Deprecated.
    `HttpRoute` | ProxySelectorRoutePlanner.`determineRoute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)` Deprecated.
    `HttpRoute` | DefaultRoutePlanner.`determineRoute(org.apache.http.HttpHost host, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)`
    `HttpRoute` | AbstractPooledConnAdapter.`getRoute()` Deprecated.

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

    Methods in org.apache.http.impl.conn with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicHttpClientConnectionManager.`connect(org.apache.http.HttpClientConnection conn, HttpRoute route, int connectTimeout, org.apache.http.protocol.HttpContext context)`
    `void` | PoolingHttpClientConnectionManager.`connect(org.apache.http.HttpClientConnection managedConn, HttpRoute route, int connectTimeout, org.apache.http.protocol.HttpContext context)`
    `ManagedHttpClientConnection` | ManagedHttpClientConnectionFactory.`create(HttpRoute route, org.apache.http.config.ConnectionConfig config)`
    `ManagedClientConnection` | SingleClientConnManager.`getConnection(HttpRoute route, Object state)` Deprecated. Obtains a connection.
    `int` | PoolingHttpClientConnectionManager.`getMaxPerRoute(HttpRoute route)`
    `int` | PoolingClientConnectionManager.`getMaxPerRoute(HttpRoute route)` Deprecated.
    `org.apache.http.pool.PoolStats` | PoolingHttpClientConnectionManager.`getStats(HttpRoute route)`
    `org.apache.http.pool.PoolStats` | PoolingClientConnectionManager.`getStats(HttpRoute route)` Deprecated.
    `void` | AbstractPooledConnAdapter.`open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)` Deprecated.
    `void` | AbstractPoolEntry.`open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)` Deprecated. Opens the underlying connection.
    `ClientConnectionRequest` | SingleClientConnManager.`requestConnection(HttpRoute route, Object state)` Deprecated.
    `ConnectionRequest` | BasicHttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)`
    `ConnectionRequest` | PoolingHttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)`
    `ClientConnectionRequest` | PoolingClientConnectionManager.`requestConnection(HttpRoute route, Object state)` Deprecated.
    `ClientConnectionRequest` | BasicClientConnectionManager.`requestConnection(HttpRoute route, Object state)` Deprecated.
    `void` | BasicHttpClientConnectionManager.`routeComplete(org.apache.http.HttpClientConnection conn, HttpRoute route, org.apache.http.protocol.HttpContext context)`
    `void` | PoolingHttpClientConnectionManager.`routeComplete(org.apache.http.HttpClientConnection managedConn, HttpRoute route, org.apache.http.protocol.HttpContext context)`
    `void` | PoolingHttpClientConnectionManager.`setMaxPerRoute(HttpRoute route, int max)`
    `void` | PoolingClientConnectionManager.`setMaxPerRoute(HttpRoute route, int max)` Deprecated.
    `void` | BasicHttpClientConnectionManager.`upgrade(org.apache.http.HttpClientConnection conn, HttpRoute route, org.apache.http.protocol.HttpContext context)`
    `void` | PoolingHttpClientConnectionManager.`upgrade(org.apache.http.HttpClientConnection managedConn, HttpRoute route, org.apache.http.protocol.HttpContext context)`

    Method parameters in org.apache.http.impl.conn with type arguments of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | PoolingHttpClientConnectionManager.`enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)`
    `protected void` | PoolingHttpClientConnectionManager.`enumLeased(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)`

    Constructors in org.apache.http.impl.conn with parameters of type HttpRoute
    Constructor and Description
    `AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route)` Deprecated. Creates a new pool entry.
    `SingleClientConnManager.ConnAdapter(SingleClientConnManager.PoolEntry entry, HttpRoute route)` Creates a new connection adapter.

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

  - ### Uses of HttpRoute in org.apache.http.impl.conn.tsccm

    Fields in org.apache.http.impl.conn.tsccm declared as HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `protected HttpRoute` | RouteSpecificPool.`route` Deprecated. The route this pool is for.

    Fields in org.apache.http.impl.conn.tsccm with type parameters of type HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<HttpRoute,RouteSpecificPool>` | ConnPoolByRoute.`routeToPool` Deprecated. Map of route-specific pools

    Methods in org.apache.http.impl.conn.tsccm that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpRoute` | BasicPoolEntry.`getPlannedRoute()` Deprecated.
    `HttpRoute` | RouteSpecificPool.`getRoute()` Deprecated. Obtains the route for which this pool is specific.
    `HttpRoute` | BasicPoolEntryRef.`getRoute()` Deprecated. Obtain the planned route for the referenced entry.

    Methods in org.apache.http.impl.conn.tsccm that return types with arguments of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `protected Map<HttpRoute,RouteSpecificPool>` | ConnPoolByRoute.`createRouteToPoolMap()` Deprecated. Creates the map for `ConnPoolByRoute.routeToPool`.

    Methods in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `int` | ThreadSafeClientConnManager.`getConnectionsInPool(HttpRoute route)` Deprecated. Gets the total number of pooled connections for the given route.
    `int` | ConnPoolByRoute.`getConnectionsInPool(HttpRoute route)` Deprecated.
    `BasicPoolEntry` | AbstractConnPool.`getEntry(HttpRoute route, Object state, long timeout, TimeUnit timeUnit)` Deprecated. Obtains a pool entry with a connection within the given timeout.
    `protected BasicPoolEntry` | ConnPoolByRoute.`getEntryBlocking(HttpRoute route, Object state, long timeout, TimeUnit timeUnit, WaitingThreadAborter aborter)` Deprecated. Obtains a pool entry with a connection within the given timeout.
    `int` | ThreadSafeClientConnManager.`getMaxForRoute(HttpRoute route)` Deprecated.
    `protected RouteSpecificPool` | ConnPoolByRoute.`getRoutePool(HttpRoute route, boolean create)` Deprecated. Get a route-specific pool of available connections.
    `protected abstract void` | AbstractConnPool.`handleLostEntry(HttpRoute route)` Deprecated.
    `protected void` | ConnPoolByRoute.`handleLostEntry(HttpRoute route)` Deprecated.
    `protected RouteSpecificPool` | ConnPoolByRoute.`newRouteSpecificPool(HttpRoute route)` Deprecated. Creates a new route-specific pool.
    `ClientConnectionRequest` | ThreadSafeClientConnManager.`requestConnection(HttpRoute route, Object state)` Deprecated.
    `abstract PoolEntryRequest` | AbstractConnPool.`requestPoolEntry(HttpRoute route, Object state)` Deprecated. Returns a new `PoolEntryRequest`, from which a `BasicPoolEntry` can be obtained, or the request can be aborted.
    `PoolEntryRequest` | ConnPoolByRoute.`requestPoolEntry(HttpRoute route, Object state)` Deprecated.
    `void` | ThreadSafeClientConnManager.`setMaxForRoute(HttpRoute route, int max)` Deprecated.

    Constructors in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute
    Constructor and Description
    `BasicPoolEntry(ClientConnectionOperator op, HttpRoute route)` Deprecated. Creates a new pool entry.
    `BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, long connTTL, TimeUnit timeunit)` Deprecated. Creates a new pool entry with a specified maximum lifetime.
    `BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue)` Deprecated.
    `RouteSpecificPool(HttpRoute route, ConnPerRoute connPerRoute)` Deprecated. Creates a new route-specific pool.
    `RouteSpecificPool(HttpRoute route, int maxEntries)` Deprecated. (4.1) use `RouteSpecificPool.RouteSpecificPool(HttpRoute, ConnPerRoute)`

  - ### Uses of HttpRoute in org.apache.http.impl.execchain

    Methods in org.apache.http.impl.execchain with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `CloseableHttpResponse` | MainClientExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
    `CloseableHttpResponse` | MinimalClientExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
    `CloseableHttpResponse` | RedirectExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
    `CloseableHttpResponse` | ProtocolExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
    `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` | ServiceUnavailableRetryExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`

Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.