Package | Description |
---|---|
org.apache.hc.client5.http |
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
|
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(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.hc.core5.http.HttpHost target,
InetAddress local,
org.apache.hc.core5.http.HttpHost[] proxies,
boolean secure,
RouteInfo.TunnelType tunnelled,
RouteInfo.LayerType layered)
Creates a new route with all attributes specified explicitly.
|
HttpRoute(org.apache.hc.core5.http.HttpHost target,
InetAddress local,
org.apache.hc.core5.http.HttpHost proxy,
boolean secure,
RouteInfo.TunnelType tunnelled,
RouteInfo.LayerType layered)
Creates a new route with at most one proxy.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.