public class ConfigProxySelector
extends java.net.ProxySelector
Constructor and Description |
---|
ConfigProxySelector(AtmosConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
connectFailed(java.net.URI uri,
java.net.SocketAddress socketAddress,
java.io.IOException e) |
java.util.List<java.net.Proxy> |
select(java.net.URI uri)
Very simple implementation that returns NO_PROXY for localhost and the configured proxy for anything else (no
nonProxyHosts-like support).
|
public ConfigProxySelector(AtmosConfig config)
public java.util.List<java.net.Proxy> select(java.net.URI uri)
select
in class java.net.ProxySelector
public void connectFailed(java.net.URI uri, java.net.SocketAddress socketAddress, java.io.IOException e)
connectFailed
in class java.net.ProxySelector