public final class URLProxyConfig extends ProxyConfig
| Constructor and Description |
|---|
URLProxyConfig(java.lang.String proxyAutoConfigFileURL)
Constructs a new
URLProxyConfig instance initiated with the
proxyAutoConfigFileURL URL address where PAC file with proxy settings is located.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProxyAutoConfigFileURL() |
public URLProxyConfig(java.lang.String proxyAutoConfigFileURL)
URLProxyConfig instance initiated with the
proxyAutoConfigFileURL URL address where PAC file with proxy settings is located. The address of the PAC file must be a valid URL address. The address cannot contain a path to the PAC file on local file system.
proxyAutoConfigFileURL - URL address of the PAC file with proxy settings.
-具有代理设置的PAC文件的URL地址。
java.lang.IllegalArgumentException - when
proxyAutoConfigFileURL is
null.