FixedSocksSelectorpublic class FixedProxySelector extends ProxySelector
| Constructor | Description |
|---|---|
FixedProxySelector(String proxyHost,
int proxyPort) |
Constructor
|
FixedProxySelector(Proxy proxy) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe) |
connectFailed
|
List<Proxy> |
select(URI uri) |
select
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefault, of, setDefaultpublic FixedProxySelector(Proxy proxy)
proxy - the proxy to use.public FixedProxySelector(String proxyHost, int proxyPort)
proxyHost - the host name or IP address of the proxy to use.proxyPort - the port of the proxy.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 © 2019. All rights reserved.