java.lang.Object | ||
↳ | java.net.ProxySelector | |
↳ | com.microstrategy.utils.proxy.PacProxySelector |
ProxySelector that will use a PAC script to find an proxy for a given URI.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PacProxySelector(PacScriptSource pacSource)
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructor
pacSource | the source for the PAC file. |
---|
connectFailed
Checks if the selector is currently enabled.
Can be used to enable / disable the proxy selector. If disabled it will return DIRECT for all urls.
enable | the new status to set. |
---|