Package software.amazon.awssdk.crt.http
Class HttpProxyEnvironmentVariableSetting
java.lang.Object
software.amazon.awssdk.crt.http.HttpProxyEnvironmentVariableSetting
This class provides access to Http proxy environment variable configuration
setting
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new set of environment variable proxy setting By Default environmentVariableType is set to Enable. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setConnectionType
(HttpProxyOptions.HttpProxyConnectionType connectionType) (Optional) Sets the proxy connection type.void
setEnvironmentVariableType
(HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType environmentVariableType) (Optional) Enable/Disable reading from environment variable for Proxy config.void
setTlsConnectionOptions
(TlsConnectionOptions tlsConnectionOptions) (Optional) Sets the tls connection options for the proxy connection
-
Constructor Details
-
HttpProxyEnvironmentVariableSetting
public HttpProxyEnvironmentVariableSetting()Creates a new set of environment variable proxy setting By Default environmentVariableType is set to Enable.
-
-
Method Details
-
setConnectionType
(Optional) Sets the proxy connection type. Defaults to HttpProxyConnectionType.Legacy- Parameters:
connectionType
- what kind of connection to establish
-
getConnectionType
- Returns:
- the proxy connection type
-
getEnvironmentVariableType
public HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType 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
(Optional) Sets the tls connection options for the proxy connection- Parameters:
tlsConnectionOptions
- tls connection options for the proxy connection
-
getTlsConnectionOptions
- Returns:
- the tls connection options for the proxy connection
-