Package com.rabbitmq.client
Class SslEngineConfigurators
- java.lang.Object
-
- com.rabbitmq.client.SslEngineConfigurators
-
public abstract class SslEngineConfigurators extends java.lang.ObjectReady-to-use instances and builder forSslEngineConfigurators.Note
SslEngineConfigurators can be combined withSslEngineConfigurator.andThen(SslEngineConfigurator).- Since:
- 5.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSslEngineConfigurators.Builder
-
Field Summary
Fields Modifier and Type Field Description static SslEngineConfiguratorDEFAULTDefaultSslEngineConfigurator, does nothing.static SslEngineConfiguratorENABLE_HOSTNAME_VERIFICATIONSslEngineConfiguratorthat enables server hostname verification.
-
Constructor Summary
Constructors Constructor Description SslEngineConfigurators()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SslEngineConfigurators.Builderbuilder()Builder to configure and creates aSslEngineConfiguratorinstance.static SslEngineConfiguratordefaultConfigurator()DefaultSslEngineConfigurator, does nothing.static SslEngineConfiguratorenableHostnameVerification()SslEngineConfiguratorthat enables server hostname verification.
-
-
-
Field Detail
-
DEFAULT
public static final SslEngineConfigurator DEFAULT
DefaultSslEngineConfigurator, does nothing.
-
ENABLE_HOSTNAME_VERIFICATION
public static final SslEngineConfigurator ENABLE_HOSTNAME_VERIFICATION
SslEngineConfiguratorthat enables server hostname verification.
-
-
Method Detail
-
defaultConfigurator
public static SslEngineConfigurator defaultConfigurator()
DefaultSslEngineConfigurator, does nothing.- Returns:
-
enableHostnameVerification
public static SslEngineConfigurator enableHostnameVerification()
SslEngineConfiguratorthat enables server hostname verification.- Returns:
-
builder
public static SslEngineConfigurators.Builder builder()
Builder to configure and creates aSslEngineConfiguratorinstance.- Returns:
-
-