@Deprecated public class HTTPProxyConfigurationUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
ATTR_PROXY
Deprecated.
|
protected static String |
HTTP_NON_PROXY_HOSTS
Deprecated.
|
protected static String |
HTTP_PROXY_HOST
Deprecated.
|
protected static String |
HTTP_PROXY_PORT
Deprecated.
|
protected static String |
PROXY_CONFIGURATION_NOT_FOUND
Deprecated.
|
protected static String |
PROXY_HOST_ELEMENT
Deprecated.
|
protected static String |
PROXY_HOST_ELEMENT_NOT_FOUND
Deprecated.
|
protected static String |
PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE
Deprecated.
|
protected static String |
PROXY_PASSWORD_ELEMENT
Deprecated.
|
protected static String |
PROXY_PORT_ELEMENT
Deprecated.
|
protected static String |
PROXY_PORT_ELEMENT_NOT_FOUND
Deprecated.
|
protected static String |
PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE
Deprecated.
|
protected static String |
PROXY_USER_ELEMENT
Deprecated.
|
Constructor and Description |
---|
HTTPProxyConfigurationUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
configure(MessageContext messageContext,
org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HostConfiguration config)
Deprecated.
Configure HTTP Proxy settings of commons-httpclient HostConfiguration.
|
static boolean |
isHostInNonProxyList(String host,
String nonProxyHosts)
Deprecated.
Check if the specified host is in the list of non proxy hosts.
|
static boolean |
isProxyEnabled(MessageContext messageContext,
URL targetURL)
Deprecated.
Check whether http proxy is configured or active.
|
protected static final String HTTP_PROXY_HOST
protected static final String HTTP_PROXY_PORT
protected static final String HTTP_NON_PROXY_HOSTS
protected static final String ATTR_PROXY
protected static final String PROXY_HOST_ELEMENT
protected static final String PROXY_PORT_ELEMENT
protected static final String PROXY_USER_ELEMENT
protected static final String PROXY_PASSWORD_ELEMENT
protected static final String PROXY_CONFIGURATION_NOT_FOUND
protected static final String PROXY_HOST_ELEMENT_NOT_FOUND
protected static final String PROXY_PORT_ELEMENT_NOT_FOUND
protected static final String PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE
protected static final String PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE
public static void configure(MessageContext messageContext, org.apache.commons.httpclient.HttpClient httpClient, org.apache.commons.httpclient.HostConfiguration config) throws AxisFault
messageContext
- in message context forhttpClient
- commons-httpclient instanceconfig
- commons-httpclient HostConfigurationAxisFault
- if Proxy settings are invalidpublic static boolean isProxyEnabled(MessageContext messageContext, URL targetURL)
messageContext
- in message contexttargetURL
- URL of the edpoint which we are sending the requestCopyright © The Apache Software Foundation. All Rights Reserved.