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

Packages that use HttpRoute
org.apache.http.conn: The client-side connection management and handling API that provides interfaces and implementations for opening and managing client side HTTP connections.
org.apache.http.conn.params: Parameters for configuring HTTP connection and connection management related classes.
org.apache.http.conn.routing: The client-side route representation and tracking API.
org.apache.http.impl.client: Default implementations for interfaces in `org.apache.http.client`.
org.apache.http.impl.conn: Default implementations for interfaces in `org.apache.http.impl.conn` and related classes.
org.apache.http.impl.conn.tsccm: The implementation of a thread-safe client connection manager.

Uses of HttpRoute in org.apache.http.conn

Methods in org.apache.http.conn that return HttpRoute
`HttpRoute` `ManagedClientConnection.getRoute()` Obtains the current route of this connection.
`HttpRoute` `HttpRoutedConnection.getRoute()` Obtains the current route of this connection.

Methods in org.apache.http.conn with parameters of type HttpRoute
`void` `ManagedClientConnection.open(HttpRoute route, HttpContext context, HttpParams params)` Opens this connection according to the given route.
`ClientConnectionRequest` `ClientConnectionManager.requestConnection(HttpRoute route, Object state)` Returns a new `ClientConnectionRequest`, from which a `ManagedClientConnection` can be obtained or the request can be aborted.

Uses of HttpRoute in org.apache.http.conn.params

Fields in org.apache.http.conn.params declared as HttpRoute
`static HttpRoute` `ConnRouteParams.NO_ROUTE` A special value indicating "no route".

Methods in org.apache.http.conn.params that return HttpRoute
`static HttpRoute` `ConnRouteParams.getForcedRoute(HttpParams params)` Obtains the `FORCED_ROUTE` parameter value.

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

Method parameters in org.apache.http.conn.params with type arguments of type HttpRoute
`void` `ConnPerRouteBean.setMaxForRoutes(Map<HttpRoute,Integer> map)`

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

Methods in org.apache.http.conn.routing that return HttpRoute
`HttpRoute` `HttpRoutePlanner.determineRoute(HttpHost target, HttpRequest request, 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`

Methods in org.apache.http.impl.client that return HttpRoute
`protected HttpRoute` `DefaultRequestDirector.determineRoute(HttpHost target, HttpRequest request, HttpContext context)` Determines the route for a request.
`HttpRoute` `RoutedRequest.getRoute()`

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

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

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

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

Methods in org.apache.http.impl.conn that return HttpRoute
`HttpRoute` `ProxySelectorRoutePlanner.determineRoute(HttpHost target, HttpRequest request, HttpContext context)`
`HttpRoute` `DefaultHttpRoutePlanner.determineRoute(HttpHost target, HttpRequest request, HttpContext context)`
`HttpRoute` `AbstractPooledConnAdapter.getRoute()`

Methods in org.apache.http.impl.conn with parameters of type HttpRoute
`ManagedClientConnection` `SingleClientConnManager.getConnection(HttpRoute route, Object state)` Obtains a connection.
`void` `AbstractPoolEntry.open(HttpRoute route, HttpContext context, HttpParams params)` Opens the underlying connection.
`void` `AbstractPooledConnAdapter.open(HttpRoute route, HttpContext context, HttpParams params)`
`ClientConnectionRequest` `SingleClientConnManager.requestConnection(HttpRoute route, Object state)`

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

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` 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` Map of route-specific pools

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

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

Methods in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute
`int` `ThreadSafeClientConnManager.getConnectionsInPool(HttpRoute route)` Gets the total number of pooled connections for the given route.
`int` `ConnPoolByRoute.getConnectionsInPool(HttpRoute route)`
`BasicPoolEntry` `AbstractConnPool.getEntry(HttpRoute route, Object state, long timeout, TimeUnit tunit)` Deprecated. Obtains a pool entry with a connection within the given timeout.
`protected BasicPoolEntry` `ConnPoolByRoute.getEntryBlocking(HttpRoute route, Object state, long timeout, TimeUnit tunit, WaitingThreadAborter aborter)` Obtains a pool entry with a connection within the given timeout.
`int` `ThreadSafeClientConnManager.getMaxForRoute(HttpRoute route)`
`protected RouteSpecificPool` `ConnPoolByRoute.getRoutePool(HttpRoute route, boolean create)` Get a route-specific pool of available connections.
`protected abstract void` `AbstractConnPool.handleLostEntry(HttpRoute route)` Deprecated.
`protected void` `ConnPoolByRoute.handleLostEntry(HttpRoute route)`
`protected RouteSpecificPool` `ConnPoolByRoute.newRouteSpecificPool(HttpRoute route)` Creates a new route-specific pool.
`ClientConnectionRequest` `ThreadSafeClientConnManager.requestConnection(HttpRoute route, Object state)`
`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)`
`void` `ThreadSafeClientConnManager.setMaxForRoute(HttpRoute route, int max)`

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

Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.