Class ProxySystemPropertyConfigProvider
java.lang.Object
software.amazon.awssdk.utils.internal.proxy.ProxySystemPropertyConfigProvider
- All Implemented Interfaces:
ProxyConfigProvider
An implementation of the
ProxyConfigProvider
interface that retrieves proxy configuration settings from system
properties. This class is responsible for extracting proxy host, port, username, and password settings from system properties
based on the specified proxy scheme (HTTP or HTTPS).- See Also:
-
Field Summary
Fields inherited from interface software.amazon.awssdk.utils.ProxyConfigProvider
HTTPS
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProxySystemPropertyConfigProvider
-
-
Method Details
-
port
public int port()Description copied from interface:ProxyConfigProvider
Gets the proxy port.- Specified by:
port
in interfaceProxyConfigProvider
- Returns:
- The proxy port.
-
userName
Description copied from interface:ProxyConfigProvider
Gets the proxy username if available.- Specified by:
userName
in interfaceProxyConfigProvider
- Returns:
- An optional containing the proxy username, if available.
-
password
Description copied from interface:ProxyConfigProvider
Gets the proxy password if available.- Specified by:
password
in interfaceProxyConfigProvider
- Returns:
- An optional containing the proxy password, if available.
-
host
Description copied from interface:ProxyConfigProvider
Gets the proxy host.- Specified by:
host
in interfaceProxyConfigProvider
- Returns:
- The proxy host.
-
nonProxyHosts
Description copied from interface:ProxyConfigProvider
Gets the set of non-proxy hosts.- Specified by:
nonProxyHosts
in interfaceProxyConfigProvider
- Returns:
- A set containing the non-proxy host names.
-