@Immutable public class SystemDefaultRoutePlanner extends DefaultRoutePlanner
HttpRoutePlanner
implementation based on ProxySelector
.
By default, it will pick up the proxy settings of the JVM, either
from system properties or from the browser running the application.
Additionally, it interprets some
parameters
,
though not the DEFAULT_PROXY
.Constructor and Description |
---|
SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver,
ProxySelector proxySelector) |
Modifier and Type | Method and Description |
---|---|
protected HttpHost |
determineProxy(HttpHost target,
HttpRequest request,
HttpContext context) |
determineRoute
public SystemDefaultRoutePlanner(SchemePortResolver schemePortResolver, ProxySelector proxySelector)
protected HttpHost determineProxy(HttpHost target, HttpRequest request, HttpContext context) throws HttpException
determineProxy
in class DefaultRoutePlanner
HttpException
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.