public class DefaultProxySettings extends java.lang.Object implements ProxySettings
| Constructor and Description |
|---|
DefaultProxySettings()
Creates an instance of default proxy settings.
|
| 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 DefaultProxySettings()
throws WinHttpException
WinHttpExceptionpublic 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