|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.httpclient.apache.httpcomponents.ProvidedHttpClientProxyConfig
public class ProvidedHttpClientProxyConfig
HttpClientProxyConfig implementation that uses proxy configuration from construction, and not from system properties.
| Constructor Summary | |
|---|---|
ProvidedHttpClientProxyConfig(java.util.Map<Scheme,Host> proxyHostMap,
java.util.Map<Scheme,java.util.List<java.lang.String>> nonProxyHosts)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProvidedHttpClientProxyConfig(@Nonnull
java.util.Map<Scheme,Host> proxyHostMap,
@Nonnull
java.util.Map<Scheme,java.util.List<java.lang.String>> nonProxyHosts)
| Method Detail |
|---|
public com.atlassian.fugue.Option<org.apache.http.HttpHost> getProxy(@Nonnull
org.apache.http.nio.conn.scheme.AsyncScheme scheme)
HttpClientProxyConfig
getProxy in interface HttpClientProxyConfigscheme - The scheme to provide the proxy for
public java.util.List<java.lang.String> getNonProxyHosts(@Nonnull
org.apache.http.nio.conn.scheme.AsyncScheme scheme)
HttpClientProxyConfig
getNonProxyHosts in interface HttpClientProxyConfigscheme - The scheme.
public void applyProxyCredentials(@Nonnull
org.apache.http.impl.nio.client.AbstractHttpAsyncClient client,
@Nonnull
org.apache.http.nio.conn.scheme.AsyncSchemeRegistry schemeRegistry)
HttpClientProxyConfig
applyProxyCredentials in interface HttpClientProxyConfigclient - The client to configureschemeRegistry - the registry of schemes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||