public class ProxyConf
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HTTP_NON_PROXY_HOSTS |
static java.lang.String |
HTTP_PROXY_HOST |
static java.lang.String |
HTTP_PROXY_PORT |
Constructor and Description |
---|
ProxyConf() |
Modifier and Type | Method and Description |
---|---|
static void |
configure(org.apache.commons.httpclient.HostConfiguration hostConfig,
org.apache.commons.httpclient.HttpState state,
org.apache.axis2.transport.http.HttpTransportProperties.ProxyProperties proxyProperties) |
static boolean |
isNonProxyHost(java.lang.String targetHost) |
static boolean |
isProxyEnabled(org.apache.commons.httpclient.params.HttpParams params,
java.lang.String targetHost) |
public static final java.lang.String HTTP_PROXY_HOST
public static final java.lang.String HTTP_PROXY_PORT
public static final java.lang.String HTTP_NON_PROXY_HOSTS
public static void configure(org.apache.commons.httpclient.HostConfiguration hostConfig, org.apache.commons.httpclient.HttpState state, org.apache.axis2.transport.http.HttpTransportProperties.ProxyProperties proxyProperties)
public static boolean isProxyEnabled(org.apache.commons.httpclient.params.HttpParams params, java.lang.String targetHost) throws org.apache.commons.httpclient.URIException
org.apache.commons.httpclient.URIException
Properties.PROP_HTTP_PROXY_PREFIX
public static boolean isNonProxyHost(java.lang.String targetHost)
http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html