| 软件包 | 描述 |
|---|---|
| org.apache.http.conn.routing |
客户端连接路由API。
|
| Modifier and Type | Method and Description |
|---|---|
RouteInfo.TunnelType |
HttpRoute.getTunnelType() |
RouteInfo.TunnelType |
RouteTracker.getTunnelType() |
RouteInfo.TunnelType |
RouteInfo.getTunnelType()
获取此路由的隧道类型。
|
static RouteInfo.TunnelType |
RouteInfo.TunnelType.valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static RouteInfo.TunnelType[] |
RouteInfo.TunnelType.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.