public static interface ProxyConfiguration.Builder extends CopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
ProxyConfiguration.| Modifier and Type | Method and Description |
|---|---|
ProxyConfiguration.Builder |
host(String host)
Set the hostname of the proxy.
|
ProxyConfiguration.Builder |
password(String password)
The password to use for basic proxy authentication
|
ProxyConfiguration.Builder |
port(int port)
Set the port that the proxy expects connections on.
|
ProxyConfiguration.Builder |
scheme(String scheme)
The HTTP scheme to use for connecting to the proxy.
|
ProxyConfiguration.Builder |
username(String username)
The username to use for basic proxy authentication
|
copyapplyMutation, buildProxyConfiguration.Builder host(String host)
host - The proxy host.ProxyConfiguration.Builder port(int port)
port - The proxy port.ProxyConfiguration.Builder scheme(String scheme)
http and https.
The client defaults to http if none is given.
scheme - The proxy scheme.ProxyConfiguration.Builder username(String username)
If not set, the client will not use basic authentication
username - The basic authentication username.ProxyConfiguration.Builder password(String password)
If not set, the client will not use basic authentication
password - The basic authentication password.Copyright © 2020. All rights reserved.