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
A
DefaultRoutePlanner
that determines the proxy to use for a given target hostname by consulting
the given ProxyMappings
.- Author:
- Thomas Darimont
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.HttpHost
determineProxy
(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
-
ProxyMappingsAwareRoutePlanner
-
-
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:
determineProxy
in classorg.apache.http.impl.conn.DefaultRoutePlanner
- Throws:
org.apache.http.HttpException
-