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(HttpClientConnection conn, HttpRoute route, int connectTimeout, 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, HttpContext context, 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(HttpClientConnection conn, HttpRoute route, HttpContext context)
          Marks the connection as fully established with all its intermediate hops completed.
 void HttpClientConnectionManager.upgrade(HttpClientConnection conn, HttpRoute route, 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(HttpParams params)
          Deprecated. Obtains the FORCED_ROUTE parameter value.
 

Methods in org.apache.http.conn.params with parameters of type HttpRoute
 int ConnPerRouteBean.getMaxForRoute(HttpRoute route)
          Deprecated.  
 int ConnPerRoute.getMaxForRoute(HttpRoute route)
          Deprecated.  
static void ConnRouteParams.setForcedRoute(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(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
          Deprecated.  
 

Methods in org.apache.http.impl.client that return HttpRoute
protected  HttpRoute DefaultRequestDirector.determineRoute(HttpHost targetHost, HttpRequest request, 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  HttpRequest DefaultRequestDirector.createConnectRequest(HttpRoute route, HttpContext context)
          Deprecated. Creates the CONNECT request for tunnelling.
protected  boolean DefaultRequestDirector.createTunnelToProxy(HttpRoute route, int hop, HttpContext context)
          Deprecated. Creates a tunnel to an intermediate proxy.
protected  boolean DefaultRequestDirector.createTunnelToTarget(HttpRoute route, HttpContext context)
          Deprecated. Creates a tunnel to the target server.
protected  void DefaultRequestDirector.establishRoute(HttpRoute route, 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(ConnPoolControl<HttpRoute> connPerRoute)
          Creates an AIMDBackoffManager to manage per-host connection pool sizes represented by the given ConnPoolControl.
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, 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(HttpHost target, HttpRequest request, HttpContext context)
          Deprecated.  
 HttpRoute ProxySelectorRoutePlanner.determineRoute(HttpHost target, HttpRequest request, HttpContext context)
          Deprecated.  
 HttpRoute DefaultRoutePlanner.determineRoute(HttpHost host, HttpRequest request, 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 PoolingHttpClientConnectionManager.connect(HttpClientConnection managedConn, HttpRoute route, int connectTimeout, HttpContext context)
           
 void BasicHttpClientConnectionManager.connect(HttpClientConnection conn, HttpRoute route, int connectTimeout, HttpContext context)
           
 ManagedHttpClientConnection ManagedHttpClientConnectionFactory.create(HttpRoute route, ConnectionConfig config)
           
 ManagedClientConnection SingleClientConnManager.getConnection(HttpRoute route, Object state)
          Deprecated. Obtains a connection.
 int PoolingClientConnectionManager.getMaxPerRoute(HttpRoute route)
          Deprecated.  
 int PoolingHttpClientConnectionManager.getMaxPerRoute(HttpRoute route)
           
 PoolStats PoolingClientConnectionManager.getStats(HttpRoute route)
          Deprecated.  
 PoolStats PoolingHttpClientConnectionManager.getStats(HttpRoute route)
           
 void AbstractPoolEntry.open(HttpRoute route, HttpContext context, HttpParams params)
          Deprecated. Opens the underlying connection.
 void AbstractPooledConnAdapter.open(HttpRoute route, HttpContext context, HttpParams params)
          Deprecated.  
 ClientConnectionRequest SingleClientConnManager.requestConnection(HttpRoute route, Object state)
          Deprecated.  
 ClientConnectionRequest BasicClientConnectionManager.requestConnection(HttpRoute route, Object state)
          Deprecated.  
 ClientConnectionRequest PoolingClientConnectionManager.requestConnection(HttpRoute route, Object state)
          Deprecated.  
 ConnectionRequest PoolingHttpClientConnectionManager.requestConnection(HttpRoute route, Object state)
           
 ConnectionRequest BasicHttpClientConnectionManager.requestConnection(HttpRoute route, Object state)
           
 void PoolingHttpClientConnectionManager.routeComplete(HttpClientConnection managedConn, HttpRoute route, HttpContext context)
           
 void BasicHttpClientConnectionManager.routeComplete(HttpClientConnection conn, HttpRoute route, HttpContext context)
           
 void PoolingClientConnectionManager.setMaxPerRoute(HttpRoute route, int max)
          Deprecated.  
 void PoolingHttpClientConnectionManager.setMaxPerRoute(HttpRoute route, int max)
           
 void PoolingHttpClientConnectionManager.upgrade(HttpClientConnection managedConn, HttpRoute route, HttpContext context)
           
 void BasicHttpClientConnectionManager.upgrade(HttpClientConnection conn, HttpRoute route, HttpContext context)
           
 

Method parameters in org.apache.http.impl.conn with type arguments of type HttpRoute
protected  void PoolingHttpClientConnectionManager.enumAvailable(PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)
           
protected  void PoolingHttpClientConnectionManager.enumLeased(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(Lookup<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)
           
BasicHttpClientConnectionManager(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(Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory)
           
PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, DnsResolver dnsResolver)
           
PoolingHttpClientConnectionManager(Registry<ConnectionSocketFactory> socketFactoryRegistry, HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, SchemePortResolver schemePortResolver, DnsResolver dnsResolver, long timeToLive, TimeUnit tunit)
           
 

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 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
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 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)
          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 BackoffStrategyExec.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)
           
 CloseableHttpResponse RedirectExec.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 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.
 



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