public class SystemPropertiesHttpClientProxyConfig extends java.lang.Object implements HttpClientProxyConfig
| Constructor and Description |
|---|
SystemPropertiesHttpClientProxyConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProxyCredentials(org.apache.http.impl.nio.client.AbstractHttpAsyncClient client,
org.apache.http.nio.conn.scheme.AsyncSchemeRegistry schemeRegistry)
Configure the given client with credentials to access the configured proxy.
|
java.util.List<java.lang.String> |
getNonProxyHosts(org.apache.http.nio.conn.scheme.AsyncScheme scheme)
Get the list of hosts that don't need to use the proxy for the given HTTP scheme.
|
com.atlassian.fugue.Option<org.apache.http.HttpHost> |
getProxy(org.apache.http.nio.conn.scheme.AsyncScheme scheme)
Get the proxy to use for the given HTTP scheme.
|
public SystemPropertiesHttpClientProxyConfig()
public com.atlassian.fugue.Option<org.apache.http.HttpHost> getProxy(org.apache.http.nio.conn.scheme.AsyncScheme scheme)
HttpClientProxyConfiggetProxy in interface HttpClientProxyConfigscheme - The scheme to provide the proxy forpublic java.util.List<java.lang.String> getNonProxyHosts(org.apache.http.nio.conn.scheme.AsyncScheme scheme)
HttpClientProxyConfiggetNonProxyHosts in interface HttpClientProxyConfigscheme - The scheme.public void applyProxyCredentials(org.apache.http.impl.nio.client.AbstractHttpAsyncClient client,
org.apache.http.nio.conn.scheme.AsyncSchemeRegistry schemeRegistry)
HttpClientProxyConfigapplyProxyCredentials in interface HttpClientProxyConfigclient - The client to configureschemeRegistry - the registry of schemesCopyright © 2012-2014 Atlassian. All Rights Reserved.