public class ProxyListFallbackSelector extends ProxySelector
| Constructor and Description |
|---|
ProxyListFallbackSelector(long retryAfterMs,
ProxySelector delegate)
Constructor
|
ProxyListFallbackSelector(ProxySelector delegate)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe)
connectFailed
|
List<Proxy> |
select(URI uri)
select
|
String |
toString() |
getDefault, setDefaultpublic ProxyListFallbackSelector(ProxySelector delegate)
delegate - the delegate to use.public ProxyListFallbackSelector(long retryAfterMs,
ProxySelector delegate)
retryAfterMs - the "retry delay" as amount of milliseconds.delegate - the delegate 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.