Package | Description |
---|---|
org.apache.http.conn.routing |
Client connection routing APIs.
|
Modifier and Type | Field and Description |
---|---|
private RouteInfo.TunnelType |
HttpRoute.tunnelled
Whether the the route is tunnelled through the proxy.
|
private RouteInfo.TunnelType |
RouteTracker.tunnelled
Whether the the route is tunnelled end-to-end through proxies.
|
Modifier and Type | Method and Description |
---|---|
RouteInfo.TunnelType |
RouteInfo.getTunnelType()
Obtains the tunnel type of this route.
|
RouteInfo.TunnelType |
HttpRoute.getTunnelType() |
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 and 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.
|
HttpRoute(org.apache.http.HttpHost target,
java.net.InetAddress local,
java.util.List<org.apache.http.HttpHost> proxies,
boolean secure,
RouteInfo.TunnelType tunnelled,
RouteInfo.LayerType layered) |