public final class ThreadLocalProxySelector extends ProxySelector
| Modifier and Type | Method and Description |
|---|---|
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe) |
static void |
resetProxy()
Resets the proxy to use
|
List<Proxy> |
select(URI uri) |
static void |
setProxy(ProxyBean proxyBean)
Sets the proxy to use
|
getDefault, setDefaultpublic static void resetProxy()
public static void setProxy(ProxyBean proxyBean)
proxyBean - ProxyBeanpublic List<Proxy> select(URI uri)
select in class ProxySelectorpublic void connectFailed(URI uri, SocketAddress sa, IOException ioe)
connectFailed in class ProxySelectorCopyright © 2017–2020 NTT DATA Corporation. All rights reserved.