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 Details

    • ProxyMappingsAwareRoutePlanner

      public ProxyMappingsAwareRoutePlanner(ProxyMappings proxyMappings)
  • 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 class org.apache.http.impl.conn.DefaultRoutePlanner
      Throws:
      org.apache.http.HttpException