public class BaseProxySelector extends ProxySelector
BaseProxySelector proxySelector =
new BaseProxySelector(ProxySelector.getDefault(), proxies);
ProxySelector.setDefault(proxySelector);
| Constructor and Description |
|---|
BaseProxySelector(ProxySelector defaultSelector,
Map<SocketAddress,ProxyDecorator> proxies)
Instantiates a new base proxy selector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe) |
List<Proxy> |
select(URI uri) |
getDefault, setDefaultpublic BaseProxySelector(ProxySelector defaultSelector, Map<SocketAddress,ProxyDecorator> proxies)
defaultSelector - the default selectorproxies - the proxiespublic void connectFailed(URI uri, SocketAddress sa, IOException ioe)
connectFailed in class ProxySelectorpublic List<Proxy> select(URI uri)
select in class ProxySelectorCopyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.