Uses of Class
org.apache.http.conn.routing.HttpRoute
| Package | Description |
|---|---|
| org.apache.http.conn |
The client-side connection management and handling API
at the heart of what is referred to as HttpConn.
|
| org.apache.http.conn.params |
Parameters for configuring HttpConn.
|
| org.apache.http.conn.routing |
The client-side route representation and tracking API, part of HttpConn.
|
| org.apache.http.impl.client | |
| org.apache.http.impl.conn | |
| 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 Modifier and Type Method Description HttpRouteManagedClientConnection. getRoute()Obtains the current route of this connection.Methods in org.apache.http.conn with parameters of type HttpRoute Modifier and Type Method Description voidManagedClientConnection. open(HttpRoute route, HttpContext context, HttpParams params)Opens this connection according to the given route.ClientConnectionRequestClientConnectionManager. requestConnection(HttpRoute route, Object state)Returns a newClientConnectionRequest, from which aManagedClientConnectioncan 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 Modifier and Type Field Description static HttpRouteConnRouteParams. NO_ROUTEA special value indicating "no route".Methods in org.apache.http.conn.params that return HttpRoute Modifier and Type Method Description static HttpRouteConnRouteParams. getForcedRoute(HttpParams params)Obtains theFORCED_ROUTEparameter value.Methods in org.apache.http.conn.params with parameters of type HttpRoute Modifier and Type Method Description intConnPerRoute. getMaxForRoute(HttpRoute route)intConnPerRouteBean. getMaxForRoute(HttpRoute route)voidConnRouteParamBean. setForcedRoute(HttpRoute route)static voidConnRouteParams. setForcedRoute(HttpParams params, HttpRoute route)Sets theFORCED_ROUTEparameter value.voidConnPerRouteBean. setMaxForRoute(HttpRoute route, int max)Method parameters in org.apache.http.conn.params with type arguments of type HttpRoute Modifier and Type Method Description voidConnPerRouteBean. setMaxForRoutes(Map<HttpRoute,Integer> map) -
Uses of HttpRoute in org.apache.http.conn.routing
Methods in org.apache.http.conn.routing that return HttpRoute Modifier and Type Method Description HttpRouteHttpRoutePlanner. determineRoute(HttpHost target, HttpRequest request, HttpContext context)Determines the route for a request.HttpRouteRouteTracker. toRoute()Obtains the tracked route.Constructors in org.apache.http.conn.routing with parameters of type HttpRoute Constructor 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 Description protected HttpRouteRoutedRequest. routeMethods in org.apache.http.impl.client that return HttpRoute Modifier and Type Method Description protected HttpRouteDefaultRequestDirector. determineRoute(HttpHost target, HttpRequest request, HttpContext context)Determines the route for a request.HttpRouteRoutedRequest. getRoute()Methods in org.apache.http.impl.client with parameters of type HttpRoute Modifier and Type Method Description protected HttpRequestDefaultRequestDirector. createConnectRequest(HttpRoute route, HttpContext context)Creates the CONNECT request for tunnelling.protected booleanDefaultRequestDirector. createTunnelToProxy(HttpRoute route, int hop, HttpContext context)Creates a tunnel to an intermediate proxy.protected booleanDefaultRequestDirector. createTunnelToTarget(HttpRoute route, HttpContext context)Creates a tunnel to the target server.protected voidDefaultRequestDirector. establishRoute(HttpRoute route, HttpContext context)Establishes the target route.protected voidDefaultRequestDirector. rewriteRequestURI(RequestWrapper request, HttpRoute route)Constructors in org.apache.http.impl.client with parameters of type HttpRoute Constructor Description 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 Modifier and Type Field Description protected HttpRouteAbstractPoolEntry. routeThe route for which this entry gets allocated.Methods in org.apache.http.impl.conn that return HttpRoute Modifier and Type Method Description HttpRouteDefaultHttpRoutePlanner. determineRoute(HttpHost target, HttpRequest request, HttpContext context)HttpRouteProxySelectorRoutePlanner. determineRoute(HttpHost target, HttpRequest request, HttpContext context)HttpRouteAbstractPooledConnAdapter. getRoute()Methods in org.apache.http.impl.conn with parameters of type HttpRoute Modifier and Type Method Description ManagedClientConnectionSingleClientConnManager. getConnection(HttpRoute route, Object state)Obtains a connection.voidAbstractPooledConnAdapter. open(HttpRoute route, HttpContext context, HttpParams params)voidAbstractPoolEntry. open(HttpRoute route, HttpContext context, HttpParams params)Opens the underlying connection.ClientConnectionRequestSingleClientConnManager. requestConnection(HttpRoute route, Object state)Constructors in org.apache.http.impl.conn with parameters of type HttpRoute Constructor Description AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route)Creates a new pool entry.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 Modifier and Type Field Description protected HttpRouteRouteSpecificPool. routeThe route this pool is for.Fields in org.apache.http.impl.conn.tsccm with type parameters of type HttpRoute Modifier and Type Field Description protected Map<HttpRoute,RouteSpecificPool>ConnPoolByRoute. routeToPoolA map of route-specific pools.Methods in org.apache.http.impl.conn.tsccm that return HttpRoute Modifier and Type Method Description protected HttpRouteBasicPoolEntry. getPlannedRoute()HttpRouteBasicPoolEntryRef. getRoute()Obtain the planned route for the referenced entry.HttpRouteRouteSpecificPool. getRoute()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 Modifier and Type Method Description protected Map<HttpRoute,RouteSpecificPool>ConnPoolByRoute. createRouteToPoolMap()Creates the map forConnPoolByRoute.routeToPool.Methods in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute Modifier and Type Method Description intConnPoolByRoute. getConnectionsInPool(HttpRoute route)intThreadSafeClientConnManager. getConnectionsInPool(HttpRoute route)Gets the total number of pooled connections for the given route.BasicPoolEntryAbstractConnPool. getEntry(HttpRoute route, Object state, long timeout, TimeUnit tunit)Obtains a pool entry with a connection within the given timeout.protected BasicPoolEntryConnPoolByRoute. getEntryBlocking(HttpRoute route, Object state, long timeout, TimeUnit tunit, WaitingThreadAborter aborter)Obtains a pool entry with a connection within the given timeout.protected RouteSpecificPoolConnPoolByRoute. getRoutePool(HttpRoute route, boolean create)Get a route-specific pool of available connections.protected abstract voidAbstractConnPool. handleLostEntry(HttpRoute route)Handles cleaning up for a lost pool entry with the given route.protected voidConnPoolByRoute. handleLostEntry(HttpRoute route)protected RouteSpecificPoolConnPoolByRoute. newRouteSpecificPool(HttpRoute route)Creates a new route-specific pool.ClientConnectionRequestThreadSafeClientConnManager. requestConnection(HttpRoute route, Object state)abstract PoolEntryRequestAbstractConnPool. requestPoolEntry(HttpRoute route, Object state)Returns a newPoolEntryRequest, from which aBasicPoolEntrycan be obtained, or the request can be aborted.PoolEntryRequestConnPoolByRoute. requestPoolEntry(HttpRoute route, Object state)Constructors in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute Constructor Description BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue)Creates a new pool entry.RouteSpecificPool(HttpRoute route, int maxEntries)Creates a new route-specific pool.