org.xwt
Class HTTP.Proxy

java.lang.Object
  extended byorg.xwt.HTTP.Proxy
Enclosing class:
HTTP

public static class HTTP.Proxy
extends java.lang.Object

encapsulates most of the proxy logic; some is shared in HTTP.java


Nested Class Summary
static class HTTP.Proxy.Authorization
           
static class HTTP.Proxy.NTLM
          An implementation of Microsoft's proprietary NTLM authentication protocol.
static class HTTP.Proxy.ProxyAutoConfigRootScope
           
 
Field Summary
 java.lang.String[] excluded
          hosts to be excluded from proxy use; wildcards permitted
 java.lang.String httpProxyHost
          the HTTP Proxy host to use
 int httpProxyPort
          the HTTP Proxy port to use
 java.lang.String httpsProxyHost
          if a seperate proxy should be used for HTTPS, this is the hostname; otherwise, httpProxyHost is used
 int httpsProxyPort
          if a seperate proxy should be used for HTTPS, this is the port
 JS.Callable proxyAutoConfigFunction
          the PAC script
static JS.Scope proxyAutoConfigRootScope
           
 java.lang.String socksProxyHost
          the SOCKS Proxy Host to use
 int socksProxyPort
          the SOCKS Proxy Port to use
 
Constructor Summary
HTTP.Proxy()
           
 
Method Summary
static HTTP.Proxy detectProxyViaManual()
           
static JS.Callable getProxyAutoConfigFunction(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

httpProxyHost

public java.lang.String httpProxyHost
the HTTP Proxy host to use


httpProxyPort

public int httpProxyPort
the HTTP Proxy port to use


httpsProxyHost

public java.lang.String httpsProxyHost
if a seperate proxy should be used for HTTPS, this is the hostname; otherwise, httpProxyHost is used


httpsProxyPort

public int httpsProxyPort
if a seperate proxy should be used for HTTPS, this is the port


socksProxyHost

public java.lang.String socksProxyHost
the SOCKS Proxy Host to use


socksProxyPort

public int socksProxyPort
the SOCKS Proxy Port to use


excluded

public java.lang.String[] excluded
hosts to be excluded from proxy use; wildcards permitted


proxyAutoConfigFunction

public JS.Callable proxyAutoConfigFunction
the PAC script


proxyAutoConfigRootScope

public static JS.Scope proxyAutoConfigRootScope
Constructor Detail

HTTP.Proxy

public HTTP.Proxy()
Method Detail

detectProxyViaManual

public static HTTP.Proxy detectProxyViaManual()

getProxyAutoConfigFunction

public static JS.Callable getProxyAutoConfigFunction(java.lang.String url)