|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
public static class ProxyOptions.ProxyOptionsBuilder
Use this builder to create a ProxyOptions
| Constructor Summary | |
|---|---|
ProxyOptions.ProxyOptionsBuilder()
|
|
| Method Summary | |
|---|---|
ProxyOptions |
build()
|
static ProxyOptions.ProxyOptionsBuilder |
create()
Create a builder with default options (use what is configured in standard system properties (protocol).proxyHost/(protocol).proxyPort) |
ProxyOptions.ProxyOptionsBuilder |
withDefaultSystemProperties()
Obtain proxy configuration for standard system properties (e.g. |
ProxyOptions.ProxyOptionsBuilder |
withNonProxyHost(Scheme scheme,
List<String> nonProxyHosts)
Add a list of non-proxy hosts for the given scheme. |
ProxyOptions.ProxyOptionsBuilder |
withNoProxy()
Use no proxy in the client |
ProxyOptions.ProxyOptionsBuilder |
withProxy(Map<Scheme,Host> proxyHostMap,
Map<Scheme,List<String>> nonProxyHosts)
Configure proxies as per given arguments. |
ProxyOptions.ProxyOptionsBuilder |
withProxy(Scheme scheme,
Host proxyHost)
Add a proxy host for the given scheme. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyOptions.ProxyOptionsBuilder()
| Method Detail |
|---|
public static ProxyOptions.ProxyOptionsBuilder create()
public ProxyOptions build()
public ProxyOptions.ProxyOptionsBuilder withNoProxy()
public ProxyOptions.ProxyOptionsBuilder withDefaultSystemProperties()
public ProxyOptions.ProxyOptionsBuilder withProxy(@Nonnull
Scheme scheme,
@Nonnull
Host proxyHost)
scheme - the schemeproxyHost - the proxy host
public ProxyOptions.ProxyOptionsBuilder withNonProxyHost(@Nonnull
Scheme scheme,
@Nonnull
List<String> nonProxyHosts)
scheme - The schemenonProxyHosts - The list of non-proxy hosts
public ProxyOptions.ProxyOptionsBuilder withProxy(Map<Scheme,Host> proxyHostMap,
Map<Scheme,List<String>> nonProxyHosts)
proxyHostMap - Map of schemes to proxy hosts.nonProxyHosts - List of hosts that we shouldn't use the proxy for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||