public class ProxySelector
extends java.net.ProxySelector
Constructor and Description |
---|
ProxySelector() |
Modifier and Type | Method and Description |
---|---|
void |
addProxy(java.net.Proxy.Type type,
java.lang.String host,
int port) |
void |
connectFailed(java.net.URI uri,
java.net.SocketAddress address,
java.io.IOException failure) |
java.util.List<java.net.Proxy> |
select(java.net.URI uri) |
public void addProxy(java.net.Proxy.Type type, java.lang.String host, int port)
public void connectFailed(java.net.URI uri, java.net.SocketAddress address, java.io.IOException failure)
connectFailed
in class java.net.ProxySelector
public java.util.List<java.net.Proxy> select(java.net.URI uri)
select
in class java.net.ProxySelector