public class HttpProxyConfiguration extends Object implements ReadonlyHttpProxyConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpProxyConfiguration.Builder
Builder class for constructing
CoreProxyConfiguration instances. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the proxy server address.
|
io.apimatic.coreinterfaces.http.proxy.ProxyConfiguration |
getConfiguration()
Retrieves the underlying proxy configuration.
|
String |
getPassword()
Gets the password used for proxy authentication.
|
int |
getPort()
Gets the proxy server port.
|
String |
getUsername()
Gets the username used for proxy authentication.
|
HttpProxyConfiguration.Builder |
newBuilder()
Creates a new builder initialized with the current configuration's values.
|
String |
toString()
Returns a string representation of this proxy configuration.
|
public String getAddress()
getAddress in interface ReadonlyHttpProxyConfigurationpublic int getPort()
getPort in interface ReadonlyHttpProxyConfigurationpublic String getUsername()
getUsername in interface ReadonlyHttpProxyConfigurationnull if authentication is not required.public String getPassword()
getPassword in interface ReadonlyHttpProxyConfigurationnull if authentication is not required.public io.apimatic.coreinterfaces.http.proxy.ProxyConfiguration getConfiguration()
ProxyConfiguration instance containing all proxy settings.public HttpProxyConfiguration.Builder newBuilder()
CoreProxyConfiguration.Builder instanceCopyright © 2026. All rights reserved.