Class TlsConfig
java.lang.Object
org.apache.hc.client5.http.config.TlsConfig
- All Implemented Interfaces:
Cloneable
Immutable class encapsulating TLS protocol settings.
- Since:
- 5.2
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TlsConfig
clone()
static TlsConfig.Builder
static TlsConfig.Builder
custom()
org.apache.hc.core5.util.Timeout
org.apache.hc.core5.http2.HttpVersionPolicy
String[]
String[]
toString()
-
Field Details
-
DEFAULT
-
handshakeTimeout
private final org.apache.hc.core5.util.Timeout handshakeTimeout -
supportedProtocols
-
supportedCipherSuites
-
httpVersionPolicy
private final org.apache.hc.core5.http2.HttpVersionPolicy httpVersionPolicy
-
-
Constructor Details
-
TlsConfig
protected TlsConfig()Intended for CDI compatibility -
TlsConfig
-
-
Method Details
-
getHandshakeTimeout
public org.apache.hc.core5.util.Timeout getHandshakeTimeout()- See Also:
-
getSupportedProtocols
- See Also:
-
getSupportedCipherSuites
- See Also:
-
getHttpVersionPolicy
public org.apache.hc.core5.http2.HttpVersionPolicy getHttpVersionPolicy()- See Also:
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
toString
-
custom
-
copy
-