Uses of Class org.apache.http.conn.routing.HttpRoute (Apache HttpClient 4.5.13 API)
Date: 2020-10-03

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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

Packages that use HttpRoute
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.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
`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
`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
`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
`static HttpRoute` | `ConnRouteParams.NO_ROUTE` Deprecated. A special value indicating "no route".

Methods in org.apache.http.conn.params that return HttpRoute
`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
`int` | `ConnPerRoute.getMaxForRoute(HttpRoute route)` Deprecated.
`int` | `ConnPerRouteBean.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
`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
`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
`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
`protected HttpRoute` | `RoutedRequest.route` Deprecated.

Methods in org.apache.http.impl.client that return HttpRoute
`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
`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
`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
`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.conn

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

Methods in org.apache.http.impl.conn that return HttpRoute
`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
`Set<HttpRoute>` | `PoolingHttpClientConnectionManager.getRoutes()`

Methods in org.apache.http.impl.conn with parameters of type HttpRoute
`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` | `PoolingClientConnectionManager.getMaxPerRoute(HttpRoute route)` Deprecated.
`int` | `PoolingHttpClientConnectionManager.getMaxPerRoute(HttpRoute route)`
`org.apache.http.pool.PoolStats` | `PoolingClientConnectionManager.getStats(HttpRoute route)` Deprecated.
`org.apache.http.pool.PoolStats` | `PoolingHttpClientConnectionManager.getStats(HttpRoute route)`
`void` | `AbstractPoolEntry.open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)` Deprecated. Opens the underlying connection.
`void` | `AbstractPooledConnAdapter.open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)` Deprecated.
`ClientConnectionRequest` | `PoolingClientConnectionManager.requestConnection(HttpRoute route, Object state)` Deprecated.
`ClientConnectionRequest` | `SingleClientConnManager.requestConnection(HttpRoute route, Object state)` Deprecated.
`ClientConnectionRequest` | `BasicClientConnectionManager.requestConnection(HttpRoute route, Object state)` Deprecated.
`ConnectionRequest` | `BasicHttpClientConnectionManager.requestConnection(HttpRoute route, Object state)`
`ConnectionRequest` | `PoolingHttpClientConnectionManager.requestConnection(HttpRoute route, Object state)`
`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` | `PoolingClientConnectionManager.setMaxPerRoute(HttpRoute route, int max)` Deprecated.
`void` | `PoolingHttpClientConnectionManager.setMaxPerRoute(HttpRoute route, int max)`
`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
`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
`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
`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
`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
`protected Map<HttpRoute,RouteSpecificPool>` | `ConnPoolByRoute.routeToPool` Deprecated. Map of route-specific pools

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

Methods in org.apache.http.impl.conn.tsccm that return types with arguments of type HttpRoute
`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
`int` | `ConnPoolByRoute.getConnectionsInPool(HttpRoute route)` Deprecated.
`int` | `ThreadSafeClientConnManager.getConnectionsInPool(HttpRoute route)` Deprecated. Gets the total number of pooled connections for the given route.
`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 void` | `ConnPoolByRoute.handleLostEntry(HttpRoute route)` Deprecated.
`protected abstract void` | `AbstractConnPool.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.
`PoolEntryRequest` | `ConnPoolByRoute.requestPoolEntry(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.
`void` | `ThreadSafeClientConnManager.setMaxForRoute(HttpRoute route, int max)` Deprecated.

Constructors in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute
`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
`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` | `RetryExec.execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | `ProtocolExec.execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | `RedirectExec.execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | `BackoffStrategyExec.execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | `MinimalClientExec.execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | `MainClientExec.execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
`CloseableHttpResponse` | `ServiceUnavailableRetryExec.execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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