| 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.LayerType | RouteTracker. getLayerType() | 
| RouteInfo.LayerType | RouteInfo. getLayerType()Obtains the layering type of this route. | 
| RouteInfo.LayerType | HttpRoute. getLayerType() | 
| static RouteInfo.LayerType | RouteInfo.LayerType. valueOf(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 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.