| 软件包 | 描述 |
|---|---|
| org.apache.http.conn.routing |
客户端连接路由API。
|
| Modifier and Type | Method and Description |
|---|---|
RouteInfo.LayerType |
HttpRoute.getLayerType() |
RouteInfo.LayerType |
RouteTracker.getLayerType() |
RouteInfo.LayerType |
RouteInfo.getLayerType()
获取此路由的分层类型。
|
static RouteInfo.LayerType |
RouteInfo.LayerType.valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static RouteInfo.LayerType[] |
RouteInfo.LayerType.values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
| Constructor and Description |
|---|
HttpRoute(HttpHost target, InetAddress local, HttpHost[] proxies, boolean secure, RouteInfo.TunnelType tunnelled, RouteInfo.LayerType layered)
创建一个具有明确指定的所有属性的新路由。
|
HttpRoute(HttpHost target, InetAddress local, HttpHost proxy, boolean secure, RouteInfo.TunnelType tunnelled, RouteInfo.LayerType layered)
创建一个最多一个代理的新路由。
|
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.