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 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 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 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.ClientConnectionRequest
ClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)
Deprecated.Returns a newClientConnectionRequest
, from which aManagedClientConnection
can be obtained or the request can be aborted.ConnectionRequest
HttpClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)
Returns a newConnectionRequest
, from which aHttpClientConnection
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 executedCONNECT
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 Description static HttpRoute
ConnRouteParams. NO_ROUTE
Deprecated.A special value indicating "no route".Fields in org.apache.http.conn.params with type parameters of type HttpRoute Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<HttpRoute,java.lang.Integer>
ConnPerRouteBean. maxPerHostMap
Deprecated.Methods in org.apache.http.conn.params that return HttpRoute Modifier and Type Method Description static HttpRoute
ConnRouteParams. getForcedRoute(org.apache.http.params.HttpParams params)
Deprecated.Obtains theFORCED_ROUTE
parameter value.Methods in org.apache.http.conn.params with parameters of type HttpRoute Modifier and Type Method Description int
ConnPerRoute. getMaxForRoute(HttpRoute route)
Deprecated.int
ConnPerRouteBean. getMaxForRoute(HttpRoute route)
Deprecated.void
ConnRouteParamBean. setForcedRoute(HttpRoute route)
Deprecated.static void
ConnRouteParams. setForcedRoute(org.apache.http.params.HttpParams params, HttpRoute route)
Deprecated.Sets theFORCED_ROUTE
parameter value.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 Description void
ConnPerRouteBean. setMaxForRoutes(java.util.Map<HttpRoute,java.lang.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 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 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 HttpRoute
RoutedRequest. route
Deprecated.Fields in org.apache.http.impl.client with type parameters of type HttpRoute Modifier and Type Field Description private HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>
ProxyClient. connFactory
private org.apache.http.pool.ConnPoolControl<HttpRoute>
AIMDBackoffManager. connPerRoute
private java.util.Map<HttpRoute,java.lang.Long>
AIMDBackoffManager. lastRouteBackoffs
private java.util.Map<HttpRoute,java.lang.Long>
AIMDBackoffManager. lastRouteProbes
Methods in org.apache.http.impl.client that return HttpRoute Modifier and Type Method 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.private HttpRoute
InternalHttpClient. determineRoute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
HttpRoute
RoutedRequest. getRoute()
Deprecated.Methods in org.apache.http.impl.client with parameters of type HttpRoute Modifier and Type Method 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.private java.lang.Long
AIMDBackoffManager. getLastUpdate(java.util.Map<HttpRoute,java.lang.Long> updates, HttpRoute route)
void
AIMDBackoffManager. probe(HttpRoute route)
protected void
DefaultRequestDirector. rewriteRequestURI(RequestWrapper request, HttpRoute route)
Deprecated.Method parameters in org.apache.http.impl.client with type arguments of type HttpRoute Modifier and Type Method Description private java.lang.Long
AIMDBackoffManager. getLastUpdate(java.util.Map<HttpRoute,java.lang.Long> updates, HttpRoute route)
Constructors in org.apache.http.impl.client with parameters of type HttpRoute Constructor 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 Description AIMDBackoffManager(org.apache.http.pool.ConnPoolControl<HttpRoute> connPerRoute)
Creates anAIMDBackoffManager
to manage per-host connection pool sizes represented by the givenConnPoolControl
.AIMDBackoffManager(org.apache.http.pool.ConnPoolControl<HttpRoute> connPerRoute, Clock clock)
ProxyClient(HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory, org.apache.http.config.ConnectionConfig connectionConfig, RequestConfig requestConfig)
-
Uses of HttpRoute in org.apache.http.impl.client.cache
Fields in org.apache.http.impl.client.cache declared as HttpRoute Modifier and Type Field Description private HttpRoute
AsynchronousValidationRequest. route
Constructors in org.apache.http.impl.client.cache with parameters of type HttpRoute Constructor Description AsynchronousValidationRequest(AsynchronousValidator parent, CachingExec cachingExec, HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware, HttpCacheEntry cacheEntry, java.lang.String identifier, int consecutiveFailedAttempts)
Used internally byAsynchronousValidator
to schedule a revalidation. -
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 HttpRoute
AbstractPoolEntry. route
Deprecated.The route for which this entry gets allocated.private HttpRoute
BasicHttpClientConnectionManager. route
Fields in org.apache.http.impl.conn with type parameters of type HttpRoute Modifier and Type Field Description private HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>
BasicHttpClientConnectionManager. connFactory
private HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>
PoolingHttpClientConnectionManager.InternalConnectionFactory. connFactory
Methods in org.apache.http.impl.conn that return HttpRoute Modifier and Type Method Description HttpRoute
DefaultHttpRoutePlanner. 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
ProxySelectorRoutePlanner. determineRoute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
Deprecated.(package private) HttpRoute
HttpPoolEntry. getEffectiveRoute()
Deprecated.(package private) HttpRoute
HttpPoolEntry. getPlannedRoute()
Deprecated.HttpRoute
AbstractPooledConnAdapter. getRoute()
Deprecated.(package private) HttpRoute
BasicHttpClientConnectionManager. getRoute()
HttpRoute
ManagedClientConnectionImpl. getRoute()
Deprecated.Methods in org.apache.http.impl.conn that return types with arguments of type HttpRoute Modifier and Type Method Description java.util.Set<HttpRoute>
PoolingHttpClientConnectionManager. getRoutes()
Methods in org.apache.http.impl.conn with parameters of type HttpRoute Modifier and Type Method 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)
OperatedClientConnection
HttpConnPool.InternalConnFactory. create(HttpRoute route)
ManagedHttpClientConnection
ManagedHttpClientConnectionFactory. create(HttpRoute route, org.apache.http.config.ConnectionConfig config)
ManagedHttpClientConnection
PoolingHttpClientConnectionManager.InternalConnectionFactory. create(HttpRoute route)
protected CPoolEntry
CPool. createEntry(HttpRoute route, ManagedHttpClientConnection conn)
protected HttpPoolEntry
HttpConnPool. createEntry(HttpRoute route, OperatedClientConnection conn)
Deprecated.private java.lang.String
PoolingClientConnectionManager. format(HttpRoute route, java.lang.Object state)
Deprecated.private java.lang.String
PoolingHttpClientConnectionManager. format(HttpRoute route, java.lang.Object state)
private java.lang.String
PoolingClientConnectionManager. formatStats(HttpRoute route)
Deprecated.private java.lang.String
PoolingHttpClientConnectionManager. formatStats(HttpRoute route)
(package private) ManagedClientConnection
BasicClientConnectionManager. getConnection(HttpRoute route, java.lang.Object state)
Deprecated.(package private) org.apache.http.HttpClientConnection
BasicHttpClientConnectionManager. getConnection(HttpRoute route, java.lang.Object state)
ManagedClientConnection
SingleClientConnManager. getConnection(HttpRoute route, java.lang.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
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.void
ManagedClientConnectionImpl. open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)
Deprecated.ClientConnectionRequest
BasicClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)
Deprecated.ConnectionRequest
BasicHttpClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)
ClientConnectionRequest
PoolingClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)
Deprecated.ConnectionRequest
PoolingHttpClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)
ClientConnectionRequest
SingleClientConnManager. requestConnection(HttpRoute route, java.lang.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
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 Modifier and Type Method Description protected void
CPool. enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)
protected void
PoolingHttpClientConnectionManager. enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)
protected void
CPool. enumLeased(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 Description AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route)
Deprecated.Creates a new pool entry.ConnAdapter(SingleClientConnManager.PoolEntry entry, HttpRoute route)
Creates a new connection adapter.CPoolEntry(org.apache.commons.logging.Log log, java.lang.String id, HttpRoute route, ManagedHttpClientConnection conn, long timeToLive, java.util.concurrent.TimeUnit timeUnit)
HttpPoolEntry(org.apache.commons.logging.Log log, java.lang.String id, HttpRoute route, OperatedClientConnection conn, long timeToLive, java.util.concurrent.TimeUnit timeUnit)
Deprecated. -
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 private HttpRoute
BasicPoolEntryRef. route
Deprecated.The planned route of the entry.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 Description protected java.util.Map<HttpRoute,RouteSpecificPool>
ConnPoolByRoute. routeToPool
Deprecated.Map of route-specific poolsMethods in org.apache.http.impl.conn.tsccm that return HttpRoute Modifier and Type Method Description 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 Modifier and Type Method Description protected java.util.Map<HttpRoute,RouteSpecificPool>
ConnPoolByRoute. createRouteToPoolMap()
Deprecated.Creates the map forConnPoolByRoute.routeToPool
.Methods in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute Modifier and Type Method Description 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, java.lang.Object state, long timeout, java.util.concurrent.TimeUnit timeUnit)
Deprecated.Obtains a pool entry with a connection within the given timeout.protected BasicPoolEntry
ConnPoolByRoute. getEntryBlocking(HttpRoute route, java.lang.Object state, long timeout, java.util.concurrent.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, java.lang.Object state)
Deprecated.abstract PoolEntryRequest
AbstractConnPool. requestPoolEntry(HttpRoute route, java.lang.Object state)
Deprecated.Returns a newPoolEntryRequest
, from which aBasicPoolEntry
can be obtained, or the request can be aborted.PoolEntryRequest
ConnPoolByRoute. requestPoolEntry(HttpRoute route, java.lang.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 Description BasicPoolEntry(ClientConnectionOperator op, HttpRoute route)
Deprecated.Creates a new pool entry.BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, long connTTL, java.util.concurrent.TimeUnit timeunit)
Deprecated.Creates a new pool entry with a specified maximum lifetime.BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, java.lang.ref.ReferenceQueue<java.lang.Object> queue)
Deprecated.RouteSpecificPool(HttpRoute route, int maxEntries)
Deprecated.RouteSpecificPool(HttpRoute route, ConnPerRoute connPerRoute)
Deprecated.Creates a new route-specific pool. -
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 Description private boolean
MainClientExec. createTunnelToProxy(HttpRoute route, int hop, HttpClientContext context)
Creates a tunnel to an intermediate proxy.private boolean
MainClientExec. createTunnelToTarget(AuthState proxyAuthState, org.apache.http.HttpClientConnection managedConn, HttpRoute route, org.apache.http.HttpRequest request, HttpClientContext context)
Creates a tunnel to the target server.(package private) void
MainClientExec. establishRoute(AuthState proxyAuthState, org.apache.http.HttpClientConnection managedConn, HttpRoute route, org.apache.http.HttpRequest request, HttpClientContext context)
Establishes the target route.CloseableHttpResponse
BackoffStrategyExec. 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
MainClientExec. 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
RedirectExec. execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)
CloseableHttpResponse
RetryExec. execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)
CloseableHttpResponse
ServiceUnavailableRetryExec. execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)
private boolean
MainClientExec. needAuthentication(AuthState targetAuthState, AuthState proxyAuthState, HttpRoute route, org.apache.http.HttpResponse response, HttpClientContext context)
(package private) static void
MinimalClientExec. rewriteRequestURI(HttpRequestWrapper request, HttpRoute route, boolean normalizeUri)
(package private) void
ProtocolExec. rewriteRequestURI(HttpRequestWrapper request, HttpRoute route, boolean normalizeUri)
-