public static class CoreProxyConfiguration.Builder extends Object
CoreProxyConfiguration instances.| Constructor and Description |
|---|
Builder(String address,
int port)
Creates a new
Builder instance with the specified proxy server details. |
| Modifier and Type | Method and Description |
|---|---|
CoreProxyConfiguration |
build()
Builds a new
CoreProxyConfiguration instance using the set fields. |
CoreProxyConfiguration.Builder |
password(String password)
Sets the proxy password for authentication.
|
CoreProxyConfiguration.Builder |
username(String username)
Sets the proxy username for authentication.
|
public Builder(String address, int port)
Builder instance with the specified proxy server details.address - the hostname or IP address of the proxy serverport - the port number of the proxy serverpublic CoreProxyConfiguration.Builder username(String username)
username - the username to setpublic CoreProxyConfiguration.Builder password(String password)
password - the password to setpublic CoreProxyConfiguration build()
CoreProxyConfiguration instance using the set fields.CoreProxyConfigurationCopyright © 2025. All rights reserved.