osdep.proxy
Class ProxyPropertyValues
java.lang.Object
osdep.proxy.ProxyPropertyValues
public class ProxyPropertyValues
- extends java.lang.Object
To set or get the proxy configuration data as system properties
- Author:
- SHZ Mar 14, 2008
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyPropertyValues
public ProxyPropertyValues(ProxyPropertyNames names,
boolean proxySet,
java.lang.String proxyHost,
int proxyPort)
- Parameters:
names
- proxySet
- proxyHost
- proxyPort
-
setProperties
public void setProperties()
- Sets the proxy configuration of the application
retrieveCurrentValues
public static ProxyPropertyValues retrieveCurrentValues(ProxyPropertyNames names)
throws ProxyException
- Gets the proxy configuration of the application
- Parameters:
names
-
- Returns:
- the current proxy configuration retrieved from the system properties
- Throws:
ProxyException