- All Implemented Interfaces:
ToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
- See Also:
Method Details
builder
scheme
- Returns:
- The proxy scheme.
host
- Returns:
- The proxy host from the configuration if set, else from the "https.proxyHost" or "http.proxyHost" system property, based on the scheme used, if @link ProxyConfiguration.Builder#useSystemPropertyValues(Boolean)} is set to true
port
public int port()
- Returns:
- The proxy port from the configuration if set, else from the "https.proxyPort" or "http.proxyPort" system property, based on the scheme used, if
ProxyConfiguration.Builder.useSystemPropertyValues(Boolean)is set to true
username
- Returns:
- The proxy username from the configuration if set, else from the "https.proxyUser" or "http.proxyUser" system property, based on the scheme used, if
ProxyConfiguration.Builder.useSystemPropertyValues(Boolean)is set to true
password
- Returns:
- The proxy password from the configuration if set, else from the "https.proxyPassword" or "http.proxyPassword" system property, based on the scheme used, if
ProxyConfiguration.Builder.useSystemPropertyValues(Boolean)is set to true
nonProxyHosts
- Returns:
- The set of hosts that should not be proxied. If the value is not set, the value present by "http.nonProxyHost" system property is returned. If system property is also not set, an unmodifiable empty set is returned.
equals
public boolean equals(Object o) hashCode
public int hashCode()
toBuilder
Take this object and create a builder that contains all of the current property values of this object.
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration> - Returns:
- a builder for type T