| Package | Description |
|---|---|
| org.apache.http.conn.routing |
Client connection routing APIs.
|
| Modifier and Type | Method | Description |
|---|---|---|
RouteInfo.TunnelType |
HttpRoute.getTunnelType() |
|
RouteInfo.TunnelType |
RouteInfo.getTunnelType() |
Obtains the tunnel type of this route.
|
RouteInfo.TunnelType |
RouteTracker.getTunnelType() |
|
static RouteInfo.TunnelType |
RouteInfo.TunnelType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RouteInfo.TunnelType[] |
RouteInfo.TunnelType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor | Description |
|---|---|
HttpRoute(org.apache.http.HttpHost target,
java.net.InetAddress local,
org.apache.http.HttpHost[] proxies,
boolean secure,
RouteInfo.TunnelType tunnelled,
RouteInfo.LayerType layered) |
Creates a new route with all attributes specified explicitly.
|
HttpRoute(org.apache.http.HttpHost target,
java.net.InetAddress local,
org.apache.http.HttpHost proxy,
boolean secure,
RouteInfo.TunnelType tunnelled,
RouteInfo.LayerType layered) |
Creates a new route with at most one proxy.
|