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 sentWinHttpException
public 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 sentWinHttpException
public boolean isSet()
true
if proxy is set; false
otherwise.isSet
in interface ProxySettings
public java.lang.String getURL()
getURL
in interface ProxySettings
public int getPort()
getPort
in interface ProxySettings
public java.lang.String[] getProxyBypass()
getProxyBypass
in interface ProxySettings