Package software.amazon.awssdk.crt.http
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType
-
Constructor Summary
Constructors Constructor Description HttpProxyEnvironmentVariableSetting()
Creates a new set of environment variable proxy setting By Default environmentVariableType is set to Enable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpProxyOptions.HttpProxyConnectionType
getConnectionType()
HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType
getEnvironmentVariableType()
TlsConnectionOptions
getTlsConnectionOptions()
void
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
-
-
-
Method Detail
-
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
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
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
-
-