@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 HttpHost |
determineProxy(HttpHost target,
HttpRequest request,
HttpContext context)
This implementation returns null.
|
determineRoutepublic SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver, java.net.ProxySelector proxySelector)
public SystemDefaultRoutePlanner(java.net.ProxySelector proxySelector)
protected HttpHost determineProxy(HttpHost target, HttpRequest request, HttpContext context) throws HttpException
DefaultRoutePlannerdetermineProxy in class DefaultRoutePlannerHttpException - may be thrown if overridden