@Immutable public class SystemDefaultRoutePlanner extends DefaultRoutePlanner
HttpRoutePlanner implementation
based on ProxySelector. By default, this class will pick up
the proxy settings of the JVM, either from system properties
or from the browser running the application.| Constructor and Description |
|---|
SystemDefaultRoutePlanner(java.net.ProxySelector proxySelector) |
SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver,
java.net.ProxySelector proxySelector) |
| 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) |
determineRoutepublic SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver, java.net.ProxySelector proxySelector)
public SystemDefaultRoutePlanner(java.net.ProxySelector proxySelector)
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 DefaultRoutePlannerorg.apache.http.HttpExceptionCopyright © 1999-2015 The Apache Software Foundation. All rights reserved.