|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpClientProxyConfig
Implementations of this interface provide proxy information for requests.
| 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. |
| Method Detail |
|---|
com.atlassian.fugue.Option<org.apache.http.HttpHost> getProxy(@Nonnull
org.apache.http.nio.conn.scheme.AsyncScheme scheme)
scheme - The scheme to provide the proxy for
java.util.List<java.lang.String> getNonProxyHosts(@Nonnull
org.apache.http.nio.conn.scheme.AsyncScheme scheme)
scheme - The scheme.
void applyProxyCredentials(@Nonnull
org.apache.http.impl.nio.client.AbstractHttpAsyncClient client,
@Nonnull
org.apache.http.nio.conn.scheme.AsyncSchemeRegistry schemeRegistry)
client - The client to configureschemeRegistry - the registry of schemes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||