Class CrtProxyConfiguration

java.lang.Object
software.amazon.awssdk.crtcore.CrtProxyConfiguration
Direct Known Subclasses:
ProxyConfiguration, S3CrtProxyConfiguration

public abstract class CrtProxyConfiguration extends Object
The base class for AWS CRT proxy configuration
  • Method Details

    • scheme

      public final String scheme()
      Returns:
      The proxy scheme.
    • host

      public final String 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 CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean) is set to true
    • port

      public final 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 CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean) is set to true
    • username

      public final String 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 CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean) is set to true
    • password

      public final String 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 CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean) is set to true
    • isUseEnvironmentVariableValues

      public final Boolean isUseEnvironmentVariableValues()
      Indicates whether environment variables are utilized for proxy configuration.
      Returns:
      true if environment variables are being used for proxy configuration, false otherwise.
    • nonProxyHosts

      public Set<String> nonProxyHosts()
      Retrieves the hosts that the client is allowed to access without going through the proxy. If the value is not set on the object, the value represented by the environment variable or system property is returned.
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object