org.apache.hc.client5.http.routing.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.
| Modifier and Type | Field and Description |
|---|---|
| private final ProxySelector |
| Access | Constructor and Description |
|---|---|
| public | SystemDefaultRoutePlanner(final SchemePortResolver schemePortResolver, final ProxySelector
the proxy selector, or proxySelector)null for the system default
|
| public | SystemDefaultRoutePlanner(final ProxySelector
the proxy selector, or proxySelector)null for the system default
|
| Modifier and Type | Method and Description |
|---|---|
| private Proxy | |
| protected HttpHost | determineProxy(final HttpHost target, final HttpContext context)
Overrides org. |
| proxySelector | back to summary |
|---|---|
| private final ProxySelector proxySelector | |
| SystemDefaultRoutePlanner | back to summary |
|---|---|
public SystemDefaultRoutePlanner(final SchemePortResolver schemePortResolver, final ProxySelector proxySelector)
| |
| SystemDefaultRoutePlanner | back to summary |
|---|---|
public SystemDefaultRoutePlanner(final ProxySelector proxySelector)
| |
| chooseProxy | back to summary |
|---|---|
| private Proxy chooseProxy(final List<Proxy> proxies) | |
| determineProxy | back to summary |
|---|---|
| protected HttpHost determineProxy(final HttpHost target, final HttpContext context) throws HttpException Overrides org. Doc from org. This implementation returns null.
| |