| Package | Description |
|---|---|
| org.apache.http.conn.routing |
Client connection routing APIs.
|
| Modifier and Type | Method | Description |
|---|---|---|
RouteInfo.LayerType |
HttpRoute.getLayerType() |
|
RouteInfo.LayerType |
RouteInfo.getLayerType() |
Obtains the layering type of this route.
|
RouteInfo.LayerType |
RouteTracker.getLayerType() |
|
static RouteInfo.LayerType |
RouteInfo.LayerType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RouteInfo.LayerType[] |
RouteInfo.LayerType.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.
|