com.jniwrapper.win32.winhttp
Class IEProxySettings

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

public class IEProxySettings
extends java.lang.Object
implements ProxySettings

Provides information about proxy settings of Internet Explorer.


Nested Class Summary
static class IEProxySettings.ServerInfo
          This class contains information about sever protocol, proxy addres and port.
 
Constructor Summary
IEProxySettings()
          Creates a new instance of Internet Explorer proxy settings.
 
Method Summary
 java.lang.String getAutoConfigURL()
          Returns the Auto Config URL.
 int getPort()
          Returns the proxy port.
 java.lang.String[] getProxyBypass()
          Returns the proxy bypass.
 java.util.List getServers()
          Returns the list of IEProxySettings.ServerInfo objects.
 java.lang.String getURL()
          Returns the proxy URL.
 boolean isAutoDetect()
          Returns true if autodetection is on; false otherwise.
 boolean isSet()
          Returns true if proxy is set; false othewise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEProxySettings

public IEProxySettings()
                throws WinHttpException
Creates a new instance of Internet Explorer proxy settings.

Throws:
WinHttpException
Method Detail

isAutoDetect

public boolean isAutoDetect()
Returns true if autodetection is on; false otherwise.

Returns:
true if autodetection is on; false otherwise.

getAutoConfigURL

public java.lang.String getAutoConfigURL()
Returns the Auto Config URL.

Returns:
the Auto Config URL

isSet

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

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

getPort

public int getPort()
Returns the proxy port.

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

getURL

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

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

getProxyBypass

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

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

getServers

public java.util.List getServers()
Returns the list of IEProxySettings.ServerInfo objects.

Returns:
the list of IEProxySettings.ServerInfo objects