public static class ProxyConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProxyConfiguration |
build() |
ProxyConfiguration.Builder |
copy(ProxyConfiguration model) |
ProxyConfiguration.Builder |
forward(String forward)
URL that the proxy will forward to
|
ProxyConfiguration.Builder |
hosts(List<String> hosts)
List of hosts
|
ProxyConfiguration.Builder |
isEnabled(Boolean isEnabled)
To enable or disable the proxy (default true)
|
ProxyConfiguration.Builder |
port(String port)
Port that the proxy will use
|
public ProxyConfiguration.Builder isEnabled(Boolean isEnabled)
To enable or disable the proxy (default true)
isEnabled
- the value to setpublic ProxyConfiguration.Builder hosts(List<String> hosts)
List of hosts
hosts
- the value to setpublic ProxyConfiguration.Builder port(String port)
Port that the proxy will use
port
- the value to setpublic ProxyConfiguration.Builder forward(String forward)
URL that the proxy will forward to
forward
- the value to setpublic ProxyConfiguration build()
public ProxyConfiguration.Builder copy(ProxyConfiguration model)
Copyright © 2016–2024. All rights reserved.