public static class HttpProxyConfiguration.Builder extends Object
CoreProxyConfiguration instances.| Constructor and Description |
|---|
Builder(String address,
int port)
Creates a new
Builder instance with the specified proxy server address and port. |
| Modifier and Type | Method and Description |
|---|---|
HttpProxyConfiguration.Builder |
auth(String username,
String password)
Sets the username and password for proxy auth.
|
HttpProxyConfiguration |
build()
Builds a new
HttpProxyConfiguration instance using the set fields. |
public Builder(String address, int port)
Builder instance with the specified proxy server address and port.address - the proxy server address.port - the proxy server port.public HttpProxyConfiguration.Builder auth(String username, String password)
username - the username to set for proxy auth.password - the password to set for proxy auth.public HttpProxyConfiguration build()
HttpProxyConfiguration instance using the set fields.HttpProxyConfigurationCopyright © 2026. All rights reserved.