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.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 voidBackoffManager. backOff(HttpRoute route)Called when we have decided that the result of using a connection should be interpreted as a backoff signal.voidBackoffManager. 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 HttpRouteHttpRoutedConnection. getRoute()Deprecated.Obtains the current route of this connection.HttpRouteManagedClientConnection. 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 voidHttpClientConnectionManager. 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).voidManagedClientConnection. open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)Deprecated.Opens this connection according to the given route.ClientConnectionRequestClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)Deprecated.Returns a newClientConnectionRequest, from which aManagedClientConnectioncan be obtained or the request can be aborted.ConnectionRequestHttpClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)Returns a newConnectionRequest, from which aHttpClientConnectioncan be obtained or the request can be aborted.voidHttpClientConnectionManager. 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.voidHttpClientConnectionManager. 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 executedCONNECTmethod 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 HttpRouteConnRouteParams. NO_ROUTEDeprecated.A special value indicating "no route".Methods in org.apache.http.conn.params that return HttpRoute Modifier and Type Method Description static HttpRouteConnRouteParams. getForcedRoute(org.apache.http.params.HttpParams params)Deprecated.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)Deprecated.intConnPerRouteBean. getMaxForRoute(HttpRoute route)Deprecated.voidConnRouteParamBean. setForcedRoute(HttpRoute route)Deprecated.static voidConnRouteParams. setForcedRoute(org.apache.http.params.HttpParams params, HttpRoute route)Deprecated.Sets theFORCED_ROUTEparameter value.voidConnPerRouteBean. 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 voidConnPerRouteBean. 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 HttpRouteHttpRoutePlanner. determineRoute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.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. routeDeprecated.Methods in org.apache.http.impl.client that return HttpRoute Modifier and Type Method Description protected HttpRouteDefaultRequestDirector. determineRoute(org.apache.http.HttpHost targetHost, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Deprecated.Determines the route for a request.HttpRouteRoutedRequest. getRoute()Deprecated.Methods in org.apache.http.impl.client with parameters of type HttpRoute Modifier and Type Method Description voidAIMDBackoffManager. backOff(HttpRoute route)protected org.apache.http.HttpRequestDefaultRequestDirector. createConnectRequest(HttpRoute route, org.apache.http.protocol.HttpContext context)Deprecated.Creates the CONNECT request for tunnelling.protected booleanDefaultRequestDirector. createTunnelToProxy(HttpRoute route, int hop, org.apache.http.protocol.HttpContext context)Deprecated.Creates a tunnel to an intermediate proxy.protected booleanDefaultRequestDirector. createTunnelToTarget(HttpRoute route, org.apache.http.protocol.HttpContext context)Deprecated.Creates a tunnel to the target server.protected voidDefaultRequestDirector. establishRoute(HttpRoute route, org.apache.http.protocol.HttpContext context)Deprecated.Establishes the target route.voidAIMDBackoffManager. probe(HttpRoute route)protected voidDefaultRequestDirector. rewriteRequestURI(RequestWrapper request, HttpRoute route)Deprecated.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 anAIMDBackoffManagerto manage per-host connection pool sizes represented by the givenConnPoolControl.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 Modifier and Type Field Description protected HttpRouteAbstractPoolEntry. routeDeprecated.The route for which this entry gets allocated.Methods in org.apache.http.impl.conn that return HttpRoute Modifier and Type Method Description HttpRouteDefaultHttpRoutePlanner. determineRoute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Deprecated.HttpRouteDefaultRoutePlanner. determineRoute(org.apache.http.HttpHost host, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)HttpRouteProxySelectorRoutePlanner. determineRoute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)Deprecated.HttpRouteAbstractPooledConnAdapter. 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 voidBasicHttpClientConnectionManager. connect(org.apache.http.HttpClientConnection conn, HttpRoute route, int connectTimeout, org.apache.http.protocol.HttpContext context)voidPoolingHttpClientConnectionManager. connect(org.apache.http.HttpClientConnection managedConn, HttpRoute route, int connectTimeout, org.apache.http.protocol.HttpContext context)ManagedHttpClientConnectionManagedHttpClientConnectionFactory. create(HttpRoute route, org.apache.http.config.ConnectionConfig config)ManagedClientConnectionSingleClientConnManager. getConnection(HttpRoute route, java.lang.Object state)Deprecated.Obtains a connection.intPoolingClientConnectionManager. getMaxPerRoute(HttpRoute route)Deprecated.intPoolingHttpClientConnectionManager. getMaxPerRoute(HttpRoute route)org.apache.http.pool.PoolStatsPoolingClientConnectionManager. getStats(HttpRoute route)Deprecated.org.apache.http.pool.PoolStatsPoolingHttpClientConnectionManager. getStats(HttpRoute route)voidAbstractPooledConnAdapter. open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)Deprecated.voidAbstractPoolEntry. open(HttpRoute route, org.apache.http.protocol.HttpContext context, org.apache.http.params.HttpParams params)Deprecated.Opens the underlying connection.ClientConnectionRequestBasicClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)Deprecated.ConnectionRequestBasicHttpClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)ClientConnectionRequestPoolingClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)Deprecated.ConnectionRequestPoolingHttpClientConnectionManager. requestConnection(HttpRoute route, java.lang.Object state)ClientConnectionRequestSingleClientConnManager. requestConnection(HttpRoute route, java.lang.Object state)Deprecated.voidBasicHttpClientConnectionManager. routeComplete(org.apache.http.HttpClientConnection conn, HttpRoute route, org.apache.http.protocol.HttpContext context)voidPoolingHttpClientConnectionManager. routeComplete(org.apache.http.HttpClientConnection managedConn, HttpRoute route, org.apache.http.protocol.HttpContext context)voidPoolingClientConnectionManager. setMaxPerRoute(HttpRoute route, int max)Deprecated.voidPoolingHttpClientConnectionManager. setMaxPerRoute(HttpRoute route, int max)voidBasicHttpClientConnectionManager. upgrade(org.apache.http.HttpClientConnection conn, HttpRoute route, org.apache.http.protocol.HttpContext context)voidPoolingHttpClientConnectionManager. 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 voidPoolingHttpClientConnectionManager. enumAvailable(org.apache.http.pool.PoolEntryCallback<HttpRoute,ManagedHttpClientConnection> callback)protected voidPoolingHttpClientConnectionManager. 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. -
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. routeDeprecated.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. routeToPoolDeprecated.Map of route-specific poolsMethods in org.apache.http.impl.conn.tsccm that return HttpRoute Modifier and Type Method Description protected HttpRouteBasicPoolEntry. getPlannedRoute()Deprecated.HttpRouteBasicPoolEntryRef. getRoute()Deprecated.Obtain the planned route for the referenced entry.HttpRouteRouteSpecificPool. 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 intConnPoolByRoute. getConnectionsInPool(HttpRoute route)Deprecated.intThreadSafeClientConnManager. getConnectionsInPool(HttpRoute route)Deprecated.Gets the total number of pooled connections for the given route.BasicPoolEntryAbstractConnPool. 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 BasicPoolEntryConnPoolByRoute. 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.intThreadSafeClientConnManager. getMaxForRoute(HttpRoute route)Deprecated.protected RouteSpecificPoolConnPoolByRoute. getRoutePool(HttpRoute route, boolean create)Deprecated.Get a route-specific pool of available connections.protected abstract voidAbstractConnPool. handleLostEntry(HttpRoute route)Deprecated.protected voidConnPoolByRoute. handleLostEntry(HttpRoute route)Deprecated.protected RouteSpecificPoolConnPoolByRoute. newRouteSpecificPool(HttpRoute route)Deprecated.Creates a new route-specific pool.ClientConnectionRequestThreadSafeClientConnManager. requestConnection(HttpRoute route, java.lang.Object state)Deprecated.abstract PoolEntryRequestAbstractConnPool. requestPoolEntry(HttpRoute route, java.lang.Object state)Deprecated.Returns a newPoolEntryRequest, from which aBasicPoolEntrycan be obtained, or the request can be aborted.PoolEntryRequestConnPoolByRoute. requestPoolEntry(HttpRoute route, java.lang.Object state)Deprecated.voidThreadSafeClientConnManager. 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
-