Class ProxyMappingsAwareRoutePlanner
- java.lang.Object
-
- org.apache.http.impl.conn.DefaultRoutePlanner
-
- org.keycloak.connections.httpclient.ProxyMappingsAwareRoutePlanner
-
- All Implemented Interfaces:
org.apache.http.conn.routing.HttpRoutePlanner
public class ProxyMappingsAwareRoutePlanner extends org.apache.http.impl.conn.DefaultRoutePlanner
ADefaultRoutePlanner
that determines the proxy to use for a given target hostname by consulting the givenProxyMappings
.- Author:
- Thomas Darimont
- See Also:
ProxyMappings
-
-
Constructor Summary
Constructors Constructor Description ProxyMappingsAwareRoutePlanner(ProxyMappings proxyMappings)
-
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)
-
-
-
Constructor Detail
-
ProxyMappingsAwareRoutePlanner
public ProxyMappingsAwareRoutePlanner(ProxyMappings proxyMappings)
-
-
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
-
-