Package | Description |
---|---|
org.apache.hc.client5.http.config |
HTTP client configuration APIs.
|
Modifier and Type | Method and Description |
---|---|
static TlsConfig.Builder |
TlsConfig.copy(TlsConfig config) |
static TlsConfig.Builder |
TlsConfig.custom() |
TlsConfig.Builder |
TlsConfig.Builder.setHandshakeTimeout(long handshakeTimeout,
TimeUnit timeUnit) |
TlsConfig.Builder |
TlsConfig.Builder.setHandshakeTimeout(org.apache.hc.core5.util.Timeout handshakeTimeout)
Determines the timeout used by TLS session negotiation exchanges (session handshake).
|
TlsConfig.Builder |
TlsConfig.Builder.setSupportedCipherSuites(String... supportedCipherSuites)
Determines supported cipher suites.
|
TlsConfig.Builder |
TlsConfig.Builder.setSupportedProtocols(String... supportedProtocols)
Determines supported TLS protocols.
|
TlsConfig.Builder |
TlsConfig.Builder.setSupportedProtocols(org.apache.hc.core5.http.ssl.TLS... supportedProtocols)
Determines supported TLS protocols.
|
TlsConfig.Builder |
TlsConfig.Builder.setVersionPolicy(org.apache.hc.core5.http2.HttpVersionPolicy versionPolicy)
Determines the HTTP protocol policy.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.