Interface JedisClientConfiguration.JedisSslClientConfigurationBuilder
- All Known Implementing Classes:
JedisClientConfiguration.DefaultJedisClientConfigurationBuilder
- Enclosing interface:
- JedisClientConfiguration
public static interface JedisClientConfiguration.JedisSslClientConfigurationBuilder
Builder for SSL-related
JedisClientConfiguration.-
Method Summary
Modifier and TypeMethodDescriptionand()build()Build theJedisClientConfigurationwith the configuration applied from this builder.hostnameVerifier(HostnameVerifier hostnameVerifier) sslParameters(SSLParameters sslParameters) sslSocketFactory(SSLSocketFactory sslSocketFactory)
-
Method Details
-
sslSocketFactory
JedisClientConfiguration.JedisSslClientConfigurationBuilder sslSocketFactory(SSLSocketFactory sslSocketFactory) - Parameters:
sslSocketFactory- must not be null.- Returns:
- this builder.
- Throws:
IllegalArgumentException- if sslSocketFactory is null.
-
sslParameters
JedisClientConfiguration.JedisSslClientConfigurationBuilder sslParameters(SSLParameters sslParameters) - Parameters:
sslParameters- must not be null.- Returns:
- this builder.
- Throws:
IllegalArgumentException- if sslParameters is null.
-
hostnameVerifier
JedisClientConfiguration.JedisSslClientConfigurationBuilder hostnameVerifier(HostnameVerifier hostnameVerifier) - Parameters:
hostnameVerifier- must not be null.- Returns:
- this builder.
- Throws:
IllegalArgumentException- if hostnameVerifier is null.
-
and
-
build
JedisClientConfiguration build()Build theJedisClientConfigurationwith the configuration applied from this builder.- Returns:
- a new
JedisClientConfigurationobject.
-