@Deprecated public class HTTPProxcyConfigurator extends Object
Constructor and Description |
---|
HTTPProxcyConfigurator()
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.
|
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.