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
@SdkInternalApi
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
ConstructorsConstructorDescriptionSdkProxyRoutePlanner(String proxyHost, int proxyPort, String proxyProtocol, Set<String> nonProxyHosts) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.HttpHostdetermineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.impl.conn.DefaultRoutePlanner
determineRoute
-
Constructor Details
-
SdkProxyRoutePlanner
-
-
Method Details
-
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:
determineProxyin classorg.apache.http.impl.conn.DefaultRoutePlanner- Throws:
org.apache.http.HttpException
-