Class SdkHttpConfigurationOption<T>
java.lang.Object
software.amazon.awssdk.utils.AttributeMap.Key<T>
software.amazon.awssdk.http.SdkHttpConfigurationOption<T>
- Type Parameters:
- T- Type of option
Type safe key for an HTTP related configuration option. These options are used for service specific configuration
 and are treated as hints for the underlying HTTP implementation for better defaults. If an implementation does not support
 a particular option, they are free to ignore it.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final SdkHttpConfigurationOption<Duration> Timeout for acquiring an already-established connection from a connection pool to a remote service.static final SdkHttpConfigurationOption<Duration> Timeout after which an idle connection should be closed.static final SdkHttpConfigurationOption<Duration> Timeout after which a connection should be closed, regardless of whether it is idle.static final SdkHttpConfigurationOption<Duration> Timeout for establishing a connection to a remote service.static final AttributeMapstatic final SdkHttpConfigurationOption<Integer> Maximum number of connections allowed in a connection pool.static final SdkHttpConfigurationOption<Integer> Maximum number of requests allowed to wait for a connection.static final SdkHttpConfigurationOption<Protocol> HTTP protocol to use.static final SdkHttpConfigurationOption<ProtocolNegotiation> HTTP protocol negotiation to use.static final SdkHttpConfigurationOption<Duration> Timeout for each read to the underlying socket.static final SdkHttpConfigurationOption<Boolean> Whether idle connection should be removed after theCONNECTION_MAX_IDLE_TIMEOUThas passed.static final SdkHttpConfigurationOption<Boolean> Whether to enable or disable TCP KeepAlive.static final SdkHttpConfigurationOption<TlsKeyManagersProvider> TheTlsKeyManagersProviderthat will be used by the HTTP client when authenticating with a TLS host.static final SdkHttpConfigurationOption<Duration> The maximum amount of time that a TLS handshake is allowed to take from the time the CLIENT HELLO message is sent to the time the client and server have fully negotiated ciphers and exchanged keys.static final SdkHttpConfigurationOption<TlsTrustManagersProvider> TheTlsTrustManagersProviderthat will be used by the HTTP client when authenticating with a TLS host.static final SdkHttpConfigurationOption<Boolean> Option to disable SSL cert validation and SSL host name verification.static final SdkHttpConfigurationOption<Duration> Timeout for each write to the underlying socket.
- 
Method SummaryMethods inherited from class software.amazon.awssdk.utils.AttributeMap.KeyconvertValue
- 
Field Details- 
READ_TIMEOUTTimeout for each read to the underlying socket.
- 
WRITE_TIMEOUTTimeout for each write to the underlying socket.
- 
CONNECTION_TIMEOUTTimeout for establishing a connection to a remote service.
- 
CONNECTION_ACQUIRE_TIMEOUTTimeout for acquiring an already-established connection from a connection pool to a remote service.
- 
CONNECTION_MAX_IDLE_TIMEOUTTimeout after which an idle connection should be closed.
- 
CONNECTION_TIME_TO_LIVETimeout after which a connection should be closed, regardless of whether it is idle. Zero indicates an infinite amount of time.
- 
MAX_CONNECTIONSMaximum number of connections allowed in a connection pool.
- 
PROTOCOLHTTP protocol to use.
- 
PROTOCOL_NEGOTIATIONHTTP protocol negotiation to use.
- 
MAX_PENDING_CONNECTION_ACQUIRESMaximum number of requests allowed to wait for a connection.
- 
REAP_IDLE_CONNECTIONSWhether idle connection should be removed after theCONNECTION_MAX_IDLE_TIMEOUThas passed.
- 
TCP_KEEPALIVEWhether to enable or disable TCP KeepAlive.When enabled, the actual KeepAlive mechanism is dependent on the Operating System and therefore additional TCP KeepAlive values (like timeout, number of packets, etc) must be configured via the Operating System (sysctl on Linux/Mac, and Registry values on Windows). 
- 
TLS_KEY_MANAGERS_PROVIDERTheTlsKeyManagersProviderthat will be used by the HTTP client when authenticating with a TLS host.
- 
TRUST_ALL_CERTIFICATESOption to disable SSL cert validation and SSL host name verification. By default, this option is off. Only enable this option for testing purposes.
- 
TLS_TRUST_MANAGERS_PROVIDERpublic static final SdkHttpConfigurationOption<TlsTrustManagersProvider> TLS_TRUST_MANAGERS_PROVIDERTheTlsTrustManagersProviderthat will be used by the HTTP client when authenticating with a TLS host.
- 
TLS_NEGOTIATION_TIMEOUTThe maximum amount of time that a TLS handshake is allowed to take from the time the CLIENT HELLO message is sent to the time the client and server have fully negotiated ciphers and exchanged keys.If not specified, the default value will be the same as the resolved CONNECTION_TIMEOUT.
- 
GLOBAL_HTTP_DEFAULTS
 
- 
- 
Method Details- 
nameNote that the name is mainly used for debugging purposes. Two option key objects with the same name do not represent the same option. Option keys are compared by reference when obtaining a value from anAttributeMap.- Returns:
- Name of this option key.
 
- 
toString- Overrides:
- toStringin class- AttributeMap.Key<T>
 
 
-