Class SdkProxyRoutePlanner
- java.lang.Object
-
- org.apache.http.impl.conn.DefaultRoutePlanner
-
- software.amazon.awssdk.http.apache.internal.SdkProxyRoutePlanner
-
- All Implemented Interfaces:
org.apache.http.conn.routing.HttpRoutePlanner
public class SdkProxyRoutePlanner extends org.apache.http.impl.conn.DefaultRoutePlanner
SdkProxyRoutePlanner delegates a Proxy Route Planner from the settings instead of the system properties. It will use the proxy created from proxyHost and proxyPort and filter the hosts who matches nonProxyHosts pattern.
-
-
Constructor Summary
Constructors Constructor Description SdkProxyRoutePlanner(String proxyHost, int proxyPort, String proxyProtocol, Set<String> nonProxyHosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.HttpHost
determineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
-
-
-
Method Detail
-
determineProxy
protected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException
- Overrides:
determineProxy
in classorg.apache.http.impl.conn.DefaultRoutePlanner
- Throws:
org.apache.http.HttpException
-
-