public class RemoteProxySettings extends java.lang.Object implements ProxySettings
| Constructor and Description |
|---|
RemoteProxySettings(java.lang.String url,
boolean autoLogon)
Returns the proxy configuration for the specified URL.
|
RemoteProxySettings(java.lang.String url,
java.lang.String pacFileUrl,
boolean autoLogon)
Returns the proxy configuration for the specified URL.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPort()
Returns the proxy port.
|
java.lang.String[] |
getProxyBypass()
Returns the proxy bypass.
|
java.lang.String |
getURL()
Returns the proxy URL.
|
boolean |
isSet()
Returns
true if proxy is set; false otherwise. |
public RemoteProxySettings(java.lang.String url,
boolean autoLogon)
throws WinHttpException
url - specifes the URLautoLogon - if true credentials should automatically be sentWinHttpExceptionpublic RemoteProxySettings(java.lang.String url,
java.lang.String pacFileUrl,
boolean autoLogon)
throws WinHttpException
url - specifes the URLpacFileUrl - specifies the URL of the PAC fileautoLogon - if true credentials should automatically be sentWinHttpExceptionpublic boolean isSet()
true if proxy is set; false otherwise.isSet in interface ProxySettingspublic java.lang.String getURL()
getURL in interface ProxySettingspublic int getPort()
getPort in interface ProxySettingspublic java.lang.String[] getProxyBypass()
getProxyBypass in interface ProxySettings