public class UseProxyWhiteListSelector extends ProxySelector
| Constructor and Description |
|---|
UseProxyWhiteListSelector(String whiteList,
ProxySelector proxySelector)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe)
connectFailed
|
List<Proxy> |
select(URI uri)
select
|
getDefault, setDefaultpublic UseProxyWhiteListSelector(String whiteList, ProxySelector proxySelector)
whiteList - the whitelist to use.proxySelector - the proxy selector to use.public void connectFailed(URI uri, SocketAddress sa, IOException ioe)
connectFailed in class ProxySelectorProxySelector.connectFailed(java.net.URI,
java.net.SocketAddress, java.io.IOException)public List<Proxy> select(URI uri)
select in class ProxySelectorProxySelector.select(java.net.URI)Copyright © 2020. All rights reserved.