public class ProxyMappingsAwareRoutePlanner
extends org.apache.http.impl.conn.DefaultRoutePlanner
DefaultRoutePlanner
that determines the proxy to use for a given target hostname by consulting
the given ProxyMappings
.ProxyMappings
Constructor and Description |
---|
ProxyMappingsAwareRoutePlanner(ProxyMappings proxyMappings) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.HttpHost |
determineProxy(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
public ProxyMappingsAwareRoutePlanner(ProxyMappings proxyMappings)
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
determineProxy
in class org.apache.http.impl.conn.DefaultRoutePlanner
org.apache.http.HttpException
Copyright © 2020 JBoss by Red Hat. All rights reserved.