public class PacProxySelector extends ProxySelector
| Constructor | Description |
|---|---|
PacProxySelector(PacScriptSource pacSource) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
connectFailed(URI uri,
SocketAddress sa,
IOException ioe) |
connectFailed
|
static boolean |
isEnabled() |
Checks if the selector is currently enabled.
|
List<Proxy> |
select(URI uri) |
select
|
static void |
setEnabled(boolean enable) |
Can be used to enable / disable the proxy selector.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefault, of, setDefaultpublic PacProxySelector(PacScriptSource pacSource)
pacSource - the source for the PAC file.public static void setEnabled(boolean enable)
enable - the new status to set.public static boolean isEnabled()
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 © 2018. All rights reserved.