|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.http.ProxyInfo
An IWDProxyInfo objects keeps information about proxy servers for http requests and determines if for a given hostname the proxy shall be used.
ProxyInfo uses the standard property names, e.g. http.proxyHost, http.proxyPort and http.nonProxyHosts (or https.proxyHost). See the different constructors for where the properties are looked up from.
Copyright (c) SAP AG 2001-2003
| Field Summary | |
static String |
PROP_NO_PROXY_HOSTS
|
static String |
PROP_PROXY_HOST
|
static String |
PROP_PROXY_PORT
|
static String |
PROP_PROXY_SYSTEM
|
| Constructor Summary | |
ProxyInfo()
Creates a new object which initializes from System properties |
|
ProxyInfo(Properties props)
Creates a new object which initializes from given properties |
|
| Method Summary | |
HttpUrl |
getProxyFor(HttpUrl server)
Get URL of proxy for given server. |
String |
getProxySystemID(String protocol)
|
void |
setProxyUri(IHierarchicalUri base,
IHierarchicalUri proxy)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String PROP_PROXY_HOST
public static final String PROP_PROXY_PORT
public static final String PROP_NO_PROXY_HOSTS
public static final String PROP_PROXY_SYSTEM
| Constructor Detail |
public ProxyInfo()
public ProxyInfo(Properties props)
props - TBD: Description of the incoming method parameter| Method Detail |
public void setProxyUri(IHierarchicalUri base,
IHierarchicalUri proxy)
public String toString()
public String getProxySystemID(String protocol)
getProxySystemID in interface IProxyInfoprotocol - TBD: Description of the incoming method parameter
public HttpUrl getProxyFor(HttpUrl server)
IProxyInfonull if no proxy is
defined for the server.
getProxyFor in interface IProxyInfoserver - url
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||