com.jniwrapper.win32.winhttp
Class DefaultProxySettings

java.lang.Object
  extended by com.jniwrapper.win32.winhttp.DefaultProxySettings
All Implemented Interfaces:
ProxySettings

public class DefaultProxySettings
extends java.lang.Object
implements ProxySettings

Provides information about default proxy configuration from the registry.


Constructor Summary
DefaultProxySettings()
          Creates an instance of default proxy settings.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProxySettings

public DefaultProxySettings()
                     throws WinHttpException
Creates an instance of default proxy settings.

Throws:
WinHttpException
Method Detail

isSet

public boolean isSet()
Returns true if proxy is set; false otherwise.

Specified by:
isSet in interface ProxySettings
Returns:
true if proxy is set; false otherwise

getURL

public java.lang.String getURL()
Returns the proxy URL.

Specified by:
getURL in interface ProxySettings
Returns:
the proxy URL

getPort

public int getPort()
Returns the proxy port.

Specified by:
getPort in interface ProxySettings
Returns:
the proxy port

getProxyBypass

public java.lang.String[] getProxyBypass()
Returns the proxy bypass.

Specified by:
getProxyBypass in interface ProxySettings
Returns:
the proxy bypass