| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final TlsConfig | |
| private final Timeout | |
| private final HttpVersionPolicy | |
| private final String[] | |
| private final String[] |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv | TlsConfig(final Timeout handshakeTimeout, final String[] supportedProtocols, final String[] supportedCipherSuites, final HttpVersionPolicy httpVersionPolicy)
|
| Modifier and Type | Method and Description |
|---|---|
| protected TlsConfig | |
| public static TlsConfig. | |
| public static TlsConfig. | |
| public Timeout | |
| public HttpVersionPolicy | |
| public String[] | |
| public String[] | |
| public String |
| DEFAULT | back to summary |
|---|---|
| public static final TlsConfig DEFAULT | |
| handshakeTimeout | back to summary |
|---|---|
| private final Timeout handshakeTimeout | |
| httpVersionPolicy | back to summary |
|---|---|
| private final HttpVersionPolicy httpVersionPolicy | |
| supportedCipherSuites | back to summary |
|---|---|
| private final String[] supportedCipherSuites | |
| supportedProtocols | back to summary |
|---|---|
| private final String[] supportedProtocols | |
| TlsConfig | back to summary |
|---|---|
| protected TlsConfig() Intended for CDI compatibility | |
| TlsConfig | back to summary |
|---|---|
| pack-priv TlsConfig(final Timeout handshakeTimeout, final String[] supportedProtocols, final String[] supportedCipherSuites, final HttpVersionPolicy httpVersionPolicy) | |
| clone | back to summary |
|---|---|
| protected TlsConfig clone() throws CloneNotSupportedException Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| copy | back to summary |
|---|---|
| public static TlsConfig. | |
| custom | back to summary |
|---|---|
| public static TlsConfig. | |
| getHandshakeTimeout | back to summary |
|---|---|
public Timeout getHandshakeTimeout()
| |
| getHttpVersionPolicy | back to summary |
|---|---|
| public HttpVersionPolicy getHttpVersionPolicy() | |
| getSupportedCipherSuites | back to summary |
|---|---|
| public String[] getSupportedCipherSuites() | |
| getSupportedProtocols | back to summary |
|---|---|
| public String[] getSupportedProtocols() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private Timeout | |
| private String[] | |
| private String[] | |
| private HttpVersionPolicy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TlsConfig | |
| public TlsConfig. | setHandshakeTimeout(final Timeout handshakeTimeout)
Determines the timeout used by TLS session negotiation exchanges (session handshake). |
| public TlsConfig. | |
| public TlsConfig. | |
| public TlsConfig. | |
| public TlsConfig. | |
| public TlsConfig. |
| handshakeTimeout | back to summary |
|---|---|
| private Timeout handshakeTimeout | |
| supportedCipherSuites | back to summary |
|---|---|
| private String[] supportedCipherSuites | |
| supportedProtocols | back to summary |
|---|---|
| private String[] supportedProtocols | |
| versionPolicy | back to summary |
|---|---|
| private HttpVersionPolicy versionPolicy | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public TlsConfig build() | |
| setHandshakeTimeout | back to summary |
|---|---|
| public TlsConfig. Determines the timeout used by TLS session negotiation exchanges (session handshake). A timeout value of zero is interpreted as an infinite timeout.
Default: | |
| setHandshakeTimeout | back to summary |
|---|---|
public TlsConfig.
| |
| setSupportedCipherSuites | back to summary |
|---|---|
| public TlsConfig. Determines supported cipher suites.
Default: | |
| setSupportedProtocols | back to summary |
|---|---|
| public TlsConfig. Determines supported TLS protocols.
Default: | |
| setSupportedProtocols | back to summary |
|---|---|
| public TlsConfig. Determines supported TLS protocols.
Default: | |
| setVersionPolicy | back to summary |
|---|---|
| public TlsConfig. Determines the HTTP protocol policy. By default, connections are expected to use TLS ALPN extension to negotiate the application protocol to be used by both endpoints.
Default: | |