Package com.rabbitmq.client
Class SslEngineConfigurators.Builder
- java.lang.Object
-
- com.rabbitmq.client.SslEngineConfigurators.Builder
-
- Enclosing class:
- SslEngineConfigurators
public static class SslEngineConfigurators.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SslEngineConfigurators.Builder
add(SslEngineConfigurator extraConfiguration)
Add extra configuration step.SslEngineConfigurator
build()
Return the configuredSslEngineConfigurator
.SslEngineConfigurators.Builder
defaultConfigurator()
Set default configuration (no op).SslEngineConfigurators.Builder
enableHostnameVerification()
Enables server hostname verification.
-
-
-
Method Detail
-
defaultConfigurator
public SslEngineConfigurators.Builder defaultConfigurator()
Set default configuration (no op).- Returns:
-
enableHostnameVerification
public SslEngineConfigurators.Builder enableHostnameVerification()
Enables server hostname verification.Requires Java 7 or more.
- Returns:
-
add
public SslEngineConfigurators.Builder add(SslEngineConfigurator extraConfiguration)
Add extra configuration step.- Parameters:
extraConfiguration
-- Returns:
-
build
public SslEngineConfigurator build()
Return the configuredSslEngineConfigurator
.- Returns:
-
-