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

- Packages that use HttpRoute
  软件包 | 描述
  --- | ---
  org.apache.http.client | 客户端HTTP通信API。
  org.apache.http.conn | 客户端连接管理API。
  org.apache.http.conn.params | 已过时。
  org.apache.http.conn.routing | 客户端连接路由API。
  org.apache.http.impl.client | 默认HTTP客户端实现。
  org.apache.http.impl.conn | 客户端连接管理功能的默认实现。
  org.apache.http.impl.conn.tsccm | 已过时。
  org.apache.http.impl.execchain | HTTP请求执行链API。

- - ### Uses of HttpRoute in org.apache.http.client

    Methods in org.apache.http.client with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | BackoffManager.`backOff(HttpRoute route)` 当我们决定使用连接的结果应该被解释为退避信号时调用。
    `void` | BackoffManager.`probe(HttpRoute route)` 当我们确定使用连接的结果已经成功，并且我们可以探索更多的连接时调用。

  - ### Uses of HttpRoute in org.apache.http.conn

    Methods in org.apache.http.conn that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `HttpRoute` | HttpRoutedConnection.`getRoute()` 已过时。 获取此连接的当前路由。
    `HttpRoute` | ManagedClientConnection.`getRoute()` 已过时。 获取此连接的当前路由。

    Methods in org.apache.http.conn with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpClientConnectionManager.`connect(HttpClientConnection conn, HttpRoute route, int connectTimeout, HttpContext context)` 在直接路由的情况下将底层连接套接字连接到连接目标，或者通过代理（或多个代理）路由时将第一个代理跳转到第一个代理跳转。
    `void` | ManagedClientConnection.`open(HttpRoute route, HttpContext context, HttpParams params)` 已过时。 根据给定的路线打开这个连接。
    `ClientConnectionRequest` | ClientConnectionManager.`requestConnection(HttpRoute route, Object state)` 已过时。 返回一个新的`ClientConnectionRequest` ，从中可以获得`ManagedClientConnection`或请求可以中止。
    `ConnectionRequest` | HttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)` 返回一个新的`ConnectionRequest` ，从中可以获得`HttpClientConnection`或请求可以中止。
    `void` | HttpClientConnectionManager.`routeComplete(HttpClientConnection conn, HttpRoute route, HttpContext context)` 将连接标记为完全建立，并完成所有中间跳。
    `void` | HttpClientConnectionManager.`upgrade(HttpClientConnection conn, HttpRoute route, HttpContext context)` 在将 `CONNECT`方法执行到所有中间代理跳数后，将底层连接套接字升级到TLS / SSL（或其他分层协议）

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

    Fields in org.apache.http.conn.params declared as HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `static HttpRoute` | ConnRouteParams.`NO_ROUTE` 已过时。 指示“无路线”的特殊值。

    Methods in org.apache.http.conn.params that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `static HttpRoute` | ConnRouteParams.`getForcedRoute(HttpParams params)` 已过时。 获取 `FORCED_ROUTE`参数值。

    Methods in org.apache.http.conn.params with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `int` | ConnPerRoute.`getMaxForRoute(HttpRoute route)` 已过时。
    `int` | ConnPerRouteBean.`getMaxForRoute(HttpRoute route)` 已过时。
    `static void` | ConnRouteParams.`setForcedRoute(HttpParams params, HttpRoute route)` 已过时。 设置 `FORCED_ROUTE`参数值。
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `HttpRoute` | HttpRoutePlanner.`determineRoute(HttpHost target, HttpRequest request, HttpContext context)` 确定请求的路由。
    `HttpRoute` | RouteTracker.`toRoute()` 获得跟踪的路线。

    Constructors in org.apache.http.conn.routing with parameters of type HttpRoute
    Constructor and Description
    `RouteTracker(HttpRoute route)` 为给定的路线创建一个新的跟踪器。

  - ### Uses of HttpRoute in org.apache.http.impl.client

    Fields in org.apache.http.impl.client declared as HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `protected HttpRoute` | RoutedRequest.`route` 已过时。

    Methods in org.apache.http.impl.client that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpRoute` | DefaultRequestDirector.`determineRoute(HttpHost targetHost, HttpRequest request, HttpContext context)` 已过时。 确定请求的路由。
    `HttpRoute` | RoutedRequest.`getRoute()` 已过时。

    Methods in org.apache.http.impl.client with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | AIMDBackoffManager.`backOff(HttpRoute route)`
    `protected HttpRequest` | DefaultRequestDirector.`createConnectRequest(HttpRoute route, HttpContext context)` 已过时。 创建CONNECT隧道请求。
    `protected boolean` | DefaultRequestDirector.`createTunnelToProxy(HttpRoute route, int hop, HttpContext context)` 已过时。 创建到中间代理的隧道。
    `protected boolean` | DefaultRequestDirector.`createTunnelToTarget(HttpRoute route, HttpContext context)` 已过时。 创建到目标服务器的隧道。
    `protected void` | DefaultRequestDirector.`establishRoute(HttpRoute route, HttpContext context)` 已过时。 建立目标路线。
    `void` | AIMDBackoffManager.`probe(HttpRoute route)`
    `protected void` | DefaultRequestDirector.`rewriteRequestURI(RequestWrapper request, HttpRoute route)` 已过时。

    Constructors in org.apache.http.impl.client with parameters of type HttpRoute
    Constructor and Description
    `RoutedRequest(RequestWrapper req, HttpRoute route)` 已过时。 创建一个新的路由请求。

    Constructor parameters in org.apache.http.impl.client with type arguments of type HttpRoute
    Constructor and Description
    `AIMDBackoffManager(ConnPoolControl<HttpRoute> connPerRoute)` 创建`AIMDBackoffManager`以管理由给定的`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
    Modifier and Type | Field and Description
    --- | ---
    `protected HttpRoute` | AbstractPoolEntry.`route` 已过时。 该条目被分配的路由。

    Methods in org.apache.http.impl.conn that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `HttpRoute` | ProxySelectorRoutePlanner.`determineRoute(HttpHost target, HttpRequest request, HttpContext context)` 已过时。
    `HttpRoute` | DefaultRoutePlanner.`determineRoute(HttpHost host, HttpRequest request, HttpContext context)`
    `HttpRoute` | DefaultHttpRoutePlanner.`determineRoute(HttpHost target, HttpRequest request, HttpContext context)` 已过时。
    `HttpRoute` | AbstractPooledConnAdapter.`getRoute()` 已过时。

    Methods in org.apache.http.impl.conn that return types with arguments of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `Set<HttpRoute>` | PoolingHttpClientConnectionManager.`getRoutes()`

    Methods in org.apache.http.impl.conn with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicHttpClientConnectionManager.`connect(HttpClientConnection conn, HttpRoute route, int connectTimeout, HttpContext context)`
    `void` | PoolingHttpClientConnectionManager.`connect(HttpClientConnection managedConn, HttpRoute route, int connectTimeout, HttpContext context)`
    `ManagedHttpClientConnection` | ManagedHttpClientConnectionFactory.`create(HttpRoute route, ConnectionConfig config)`
    `ManagedClientConnection` | SingleClientConnManager.`getConnection(HttpRoute route, Object state)` 已过时。 获取连接。
    `int` | PoolingClientConnectionManager.`getMaxPerRoute(HttpRoute route)` 已过时。
    `int` | PoolingHttpClientConnectionManager.`getMaxPerRoute(HttpRoute route)`
    `PoolStats` | PoolingClientConnectionManager.`getStats(HttpRoute route)` 已过时。
    `PoolStats` | PoolingHttpClientConnectionManager.`getStats(HttpRoute route)`
    `void` | AbstractPooledConnAdapter.`open(HttpRoute route, HttpContext context, HttpParams params)` 已过时。
    `void` | AbstractPoolEntry.`open(HttpRoute route, HttpContext context, HttpParams params)` 已过时。 打开基础连接。
    `ClientConnectionRequest` | BasicClientConnectionManager.`requestConnection(HttpRoute route, Object state)` 已过时。
    `ClientConnectionRequest` | SingleClientConnManager.`requestConnection(HttpRoute route, Object state)` 已过时。
    `ConnectionRequest` | BasicHttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)`
    `ClientConnectionRequest` | PoolingClientConnectionManager.`requestConnection(HttpRoute route, Object state)` 已过时。
    `ConnectionRequest` | PoolingHttpClientConnectionManager.`requestConnection(HttpRoute route, Object state)`
    `void` | BasicHttpClientConnectionManager.`routeComplete(HttpClientConnection conn, HttpRoute route, HttpContext context)`
    `void` | PoolingHttpClientConnectionManager.`routeComplete(HttpClientConnection managedConn, HttpRoute route, HttpContext context)`
    `void` | PoolingClientConnectionManager.`setMaxPerRoute(HttpRoute route, int max)` 已过时。
    `void` | PoolingHttpClientConnectionManager.`setMaxPerRoute(HttpRoute route, int max)`
    `void` | BasicHttpClientConnectionManager.`upgrade(HttpClientConnection conn, HttpRoute route, HttpContext context)`
    `void` | PoolingHttpClientConnectionManager.`upgrade(HttpClientConnection managedConn, HttpRoute route, HttpContext context)`

    Method parameters in org.apache.http.impl.conn with type arguments of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `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
    Constructor and Description
    `AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route)` 已过时。 创建一个新的池条目。
    `SingleClientConnManager.ConnAdapter(SingleClientConnManager.PoolEntry entry, HttpRoute route)` 创建一个新的连接适配器。

    Constructor parameters in org.apache.http.impl.conn with type arguments of type HttpRoute
    Constructor and Description
    `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
    Modifier and Type | Field and Description
    --- | ---
    `protected HttpRoute` | RouteSpecificPool.`route` 已过时。 这个游泳池的路线。

    Fields in org.apache.http.impl.conn.tsccm with type parameters of type HttpRoute
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<HttpRoute,RouteSpecificPool>` | ConnPoolByRoute.`routeToPool` 已过时。 路线专用池的映射

    Methods in org.apache.http.impl.conn.tsccm that return HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpRoute` | BasicPoolEntry.`getPlannedRoute()` 已过时。
    `HttpRoute` | BasicPoolEntryRef.`getRoute()` 已过时。 获取参考条目的计划路线。
    `HttpRoute` | RouteSpecificPool.`getRoute()` 已过时。 获取此池是特定的路由。

    Methods in org.apache.http.impl.conn.tsccm that return types with arguments of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `protected Map<HttpRoute,RouteSpecificPool>` | ConnPoolByRoute.`createRouteToPoolMap()` 已过时。 创建地图 `ConnPoolByRoute.routeToPool` 。

    Methods in org.apache.http.impl.conn.tsccm with parameters of type HttpRoute
    Modifier and Type | Method and Description
    --- | ---
    `int` | ThreadSafeClientConnManager.`getConnectionsInPool(HttpRoute route)` 已过时。 获取给定路由的总共连接数。
    `int` | ConnPoolByRoute.`getConnectionsInPool(HttpRoute route)` 已过时。
    `BasicPoolEntry` | AbstractConnPool.`getEntry(HttpRoute route, Object state, long timeout, TimeUnit tunit)` 已过时。 在给定的超时内获取连接的池条目。
    `protected BasicPoolEntry` | ConnPoolByRoute.`getEntryBlocking(HttpRoute route, Object state, long timeout, TimeUnit tunit, WaitingThreadAborter aborter)` 已过时。 在给定的超时内获取连接的池条目。
    `int` | ThreadSafeClientConnManager.`getMaxForRoute(HttpRoute route)` 已过时。
    `protected RouteSpecificPool` | ConnPoolByRoute.`getRoutePool(HttpRoute route, boolean create)` 已过时。 获取可用连接的路由特定池。
    `protected abstract void` | AbstractConnPool.`handleLostEntry(HttpRoute route)` 已过时。
    `protected void` | ConnPoolByRoute.`handleLostEntry(HttpRoute route)` 已过时。
    `protected RouteSpecificPool` | ConnPoolByRoute.`newRouteSpecificPool(HttpRoute route)` 已过时。 创建一个新的路由特定池。
    `ClientConnectionRequest` | ThreadSafeClientConnManager.`requestConnection(HttpRoute route, Object state)` 已过时。
    `abstract PoolEntryRequest` | AbstractConnPool.`requestPoolEntry(HttpRoute route, Object state)` 已过时。 返回一个新的`PoolEntryRequest` ，从中可以获得`BasicPoolEntry` ，或者请求可以中止。
    `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
    Constructor and Description
    `BasicPoolEntry(ClientConnectionOperator op, HttpRoute route)` 已过时。 创建一个新的池条目。
    `BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, long connTTL, TimeUnit timeunit)` 已过时。 创建一个具有指定最大生命周期的新池条目。
    `BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue)` 已过时。
    `RouteSpecificPool(HttpRoute route, ConnPerRoute connPerRoute)` 已过时。 创建一个新的路由特定池。
    `RouteSpecificPool(HttpRoute route, int maxEntries)` 已过时。 （4.1）使用`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
    Modifier and Type | Method and Description
    --- | ---
    `CloseableHttpResponse` | BackoffStrategyExec.`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)` 通过将请求发送到目标服务器或将其传递到请求执行链中的下一个执行程序来执行请求。
    `CloseableHttpResponse` | RedirectExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`
    `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` | ServiceUnavailableRetryExec.`execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)`

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

本帮助文档是使用 《谷歌翻译》翻译，请与英文版配合使用 by--QQ:654638585