public final class ProxyInfo extends Object implements IProxyInfo
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
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_NO_PROXY_HOSTS |
static String |
PROP_PROXY_HOST |
static String |
PROP_PROXY_PORT |
static String |
PROP_PROXY_SYSTEM |
| Constructor and Description |
|---|
ProxyInfo()
Creates a new object which initializes from System properties
|
ProxyInfo(Properties props)
Creates a new object which initializes from given properties
|
| Modifier and Type | Method and Description |
|---|---|
HttpUrl |
getProxyFor(HttpUrl server)
Get URL of proxy for given server.
|
String |
getProxySystemID(String protocol) |
void |
setProxyUri(IHierarchicalUri base,
IHierarchicalUri proxy) |
String |
toString() |
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
public ProxyInfo()
public ProxyInfo(Properties props)
props - TBD: Description of the incoming method parameterpublic void setProxyUri(IHierarchicalUri base, IHierarchicalUri proxy)
public String getProxySystemID(String protocol)
getProxySystemID in interface IProxyInfoprotocol - TBD: Description of the incoming method parameterpublic HttpUrl getProxyFor(HttpUrl server)
IProxyInfonull if no proxy is
defined for the server.getProxyFor in interface IProxyInfoserver - url| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice