public class HttpClientProperties.Ssl extends Object
| 构造器和说明 |
|---|
Ssl() |
| 限定符和类型 | 方法和说明 |
|---|---|
Duration |
getCloseNotifyFlushTimeout()
Gets close notify flush timeout.
|
long |
getCloseNotifyFlushTimeoutMillis()
已过时。
|
Duration |
getCloseNotifyReadTimeout()
Gets close notify read timeout.
|
long |
getCloseNotifyReadTimeoutMillis()
已过时。
|
reactor.netty.tcp.SslProvider.DefaultConfigurationType |
getDefaultConfigurationType()
Gets default configuration type.
|
Duration |
getHandshakeTimeout()
Gets handshake timeout.
|
long |
getHandshakeTimeoutMillis()
已过时。
|
List<String> |
getTrustedX509Certificates()
Gets trusted x 509 certificates.
|
X509Certificate[] |
getTrustedX509CertificatesForTrustManager()
Get trusted x 509 certificates for trust manager x 509 certificate [ ].
|
boolean |
isUseInsecureTrustManager()
Is use insecure trust manager boolean.
|
void |
setCloseNotifyFlushTimeout(Duration closeNotifyFlushTimeout)
Sets close notify flush timeout.
|
void |
setCloseNotifyFlushTimeoutMillis(long closeNotifyFlushTimeoutMillis)
已过时。
|
void |
setCloseNotifyReadTimeout(Duration closeNotifyReadTimeout)
Sets close notify read timeout.
|
void |
setCloseNotifyReadTimeoutMillis(long closeNotifyReadTimeoutMillis)
已过时。
|
void |
setDefaultConfigurationType(reactor.netty.tcp.SslProvider.DefaultConfigurationType defaultConfigurationType)
Sets default configuration type.
|
void |
setHandshakeTimeout(Duration handshakeTimeout)
Sets handshake timeout.
|
void |
setHandshakeTimeoutMillis(long handshakeTimeoutMillis)
已过时。
|
void |
setTrustedX509Certificates(List<String> trustedX509)
Sets trusted x 509 certificates.
|
void |
setUseInsecureTrustManager(boolean useInsecureTrustManager)
Sets use insecure trust manager.
|
String |
toString() |
public List<String> getTrustedX509Certificates()
public void setTrustedX509Certificates(List<String> trustedX509)
trustedX509 - the trusted x 509public X509Certificate[] getTrustedX509CertificatesForTrustManager()
public boolean isUseInsecureTrustManager()
public void setUseInsecureTrustManager(boolean useInsecureTrustManager)
useInsecureTrustManager - the use insecure trust managerpublic Duration getHandshakeTimeout()
public void setHandshakeTimeout(Duration handshakeTimeout)
handshakeTimeout - the handshake timeoutpublic Duration getCloseNotifyFlushTimeout()
public void setCloseNotifyFlushTimeout(Duration closeNotifyFlushTimeout)
closeNotifyFlushTimeout - the close notify flush timeoutpublic Duration getCloseNotifyReadTimeout()
public void setCloseNotifyReadTimeout(Duration closeNotifyReadTimeout)
closeNotifyReadTimeout - the close notify read timeout@DeprecatedConfigurationProperty(replacement="soul.ssl.handshake-timeout") @Deprecated public long getHandshakeTimeoutMillis()
@Deprecated public void setHandshakeTimeoutMillis(long handshakeTimeoutMillis)
handshakeTimeoutMillis - the handshake timeout millis@DeprecatedConfigurationProperty(replacement="soul.httpclient.ssl.close-notify-flush-timeout") @Deprecated public long getCloseNotifyFlushTimeoutMillis()
@Deprecated public void setCloseNotifyFlushTimeoutMillis(long closeNotifyFlushTimeoutMillis)
closeNotifyFlushTimeoutMillis - the close notify flush timeout millis@DeprecatedConfigurationProperty(replacement="soul.httpclient.ssl.close-notify-read-timeout") @Deprecated public long getCloseNotifyReadTimeoutMillis()
@Deprecated public void setCloseNotifyReadTimeoutMillis(long closeNotifyReadTimeoutMillis)
closeNotifyReadTimeoutMillis - the close notify read timeout millispublic reactor.netty.tcp.SslProvider.DefaultConfigurationType getDefaultConfigurationType()
public void setDefaultConfigurationType(reactor.netty.tcp.SslProvider.DefaultConfigurationType defaultConfigurationType)
defaultConfigurationType - the default configuration typeCopyright © 2019 dromara. All rights reserved.