Class HttpProxyEnvironmentVariableSetting

java.lang.Object
software.amazon.awssdk.crt.http.HttpProxyEnvironmentVariableSetting

public class HttpProxyEnvironmentVariableSetting extends Object
This class provides access to Http proxy environment variable configuration setting
  • Constructor Details

    • HttpProxyEnvironmentVariableSetting

      public HttpProxyEnvironmentVariableSetting()
      Creates a new set of environment variable proxy setting By Default environmentVariableType is set to Enable.
  • Method Details

    • setConnectionType

      public void setConnectionType(HttpProxyOptions.HttpProxyConnectionType connectionType)
      (Optional) Sets the proxy connection type. Defaults to HttpProxyConnectionType.Legacy
      Parameters:
      connectionType - what kind of connection to establish
    • getConnectionType

      public HttpProxyOptions.HttpProxyConnectionType getConnectionType()
      Returns:
      the proxy connection type
    • getEnvironmentVariableType

      Returns:
      the http proxy environment variable type
    • setEnvironmentVariableType

      public void setEnvironmentVariableType(HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType environmentVariableType)
      (Optional) Enable/Disable reading from environment variable for Proxy config. Defaults to Enabled
      Parameters:
      environmentVariableType - enable or disable env proxy
    • setTlsConnectionOptions

      public void setTlsConnectionOptions(TlsConnectionOptions tlsConnectionOptions)
      (Optional) Sets the tls connection options for the proxy connection
      Parameters:
      tlsConnectionOptions - tls connection options for the proxy connection
    • getTlsConnectionOptions

      public TlsConnectionOptions getTlsConnectionOptions()
      Returns:
      the tls connection options for the proxy connection