public static interface ClientProxyOptions.Builder
| Modifier and Type | Method and Description |
|---|---|
ClientProxyOptions |
build()
Builds new ClientProxyOptions
|
ClientProxyOptions.Builder |
nonProxyHosts(java.lang.String nonProxyHostsPattern)
Regular expression (
using java.util.regex) for a configured
list of hosts that should be reached directly, bypassing the proxy. |
ClientProxyOptions.Builder |
password(java.util.function.Function<? super java.lang.String,? extends java.lang.String> password)
A function to supply the proxy's password from the username.
|
ClientProxyOptions.Builder |
port(int port)
The proxy port to connect to.
|
ClientProxyOptions.Builder |
username(java.lang.String username)
The proxy username.
|
ClientProxyOptions.Builder username(java.lang.String username)
username - The proxy username.thisClientProxyOptions.Builder password(java.util.function.Function<? super java.lang.String,? extends java.lang.String> password)
password - A function to supply the proxy's password from the username.thisClientProxyOptions.Builder port(int port)
port - The proxy port to connect to.thisClientProxyOptions.Builder nonProxyHosts(java.lang.String nonProxyHostsPattern)
using java.util.regex) for a configured
list of hosts that should be reached directly, bypassing the proxy.nonProxyHostsPattern - Regular expression (using java.util.regex)
for a configured list of hosts that should be reached directly, bypassing the proxy.thisClientProxyOptions build()