TOC PREV NEXT INDEX




Proxy Management


The ICEssl module supports the use of proxies. You can specify proxy settings by setting the following system properties: http.proxyHost, http.proxyPort, https.proxyHost, and https.proxyPort.

For example, the following command-line flags activate proxy support:

-Dhttp.proxyHost=hostname -Dhttp.proxyPort=portnumber
 

The following example starts the Generic RI using the HTTP protocol handler for proxy handling and using `icicle' at port 3128 as the global proxy:

java -Dhttp.proxyHost=icicle -Dhttp.proxyPort=3128 ice.browser.Main -
m:http
 

The proxy definitions are per protocol. This means that if you want HTTPS requests to use proxies, you must enter the following:

-Dhttps.proxyHost=hostname -Dhttps.proxyPort=portnumber
 

The API documentation for ice.net.ProxyManager describes how to programatically make applications use proxies for use other than with the reference implementations.

More sophisticated proxy configurations can be made using the PAC support, as described in Proxy Auto Configuration.



Copyright 2005. ICEsoft Technologies, Inc.
http://www.icesoft.com

TOC PREV NEXT INDEX