public class ProxySystemPropertyConfigProvider extends Object implements ProxyConfigProvider
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).ProxyConfigProviderHTTPS| Constructor and Description |
|---|
ProxySystemPropertyConfigProvider(String scheme) |
| Modifier and Type | Method and Description |
|---|---|
String |
host()
Gets the proxy host.
|
Set<String> |
nonProxyHosts()
Gets the set of non-proxy hosts.
|
Optional<String> |
password()
Gets the proxy password if available.
|
int |
port()
Gets the proxy port.
|
Optional<String> |
userName()
Gets the proxy username if available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromEnvironmentSettings, fromSystemEnvironmentSettings, fromSystemPropertySettingspublic ProxySystemPropertyConfigProvider(String scheme)
public int port()
ProxyConfigProviderport in interface ProxyConfigProviderpublic Optional<String> userName()
ProxyConfigProvideruserName in interface ProxyConfigProviderpublic Optional<String> password()
ProxyConfigProviderpassword in interface ProxyConfigProviderpublic String host()
ProxyConfigProviderhost in interface ProxyConfigProviderpublic Set<String> nonProxyHosts()
ProxyConfigProvidernonProxyHosts in interface ProxyConfigProviderCopyright © 2023. All rights reserved.