Package com.rabbitmq.client
Class SslEngineConfigurators
- java.lang.Object
-
- com.rabbitmq.client.SslEngineConfigurators
-
public abstract class SslEngineConfigurators extends Object
Ready-to-use instances and builder forSslEngineConfigurator
s.Note
SslEngineConfigurator
s can be combined withSslEngineConfigurator.andThen(SslEngineConfigurator)
.- Since:
- 5.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SslEngineConfigurators.Builder
-
Field Summary
Fields Modifier and Type Field Description static SslEngineConfigurator
DEFAULT
DefaultSslEngineConfigurator
, does nothing.static SslEngineConfigurator
ENABLE_HOSTNAME_VERIFICATION
SslEngineConfigurator
that 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.Builder
builder()
Builder to configure and creates aSslEngineConfigurator
instance.static SslEngineConfigurator
defaultConfigurator()
DefaultSslEngineConfigurator
, does nothing.static SslEngineConfigurator
enableHostnameVerification()
SslEngineConfigurator
that 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
SslEngineConfigurator
that enables server hostname verification.
-
-
Method Detail
-
defaultConfigurator
public static SslEngineConfigurator defaultConfigurator()
DefaultSslEngineConfigurator
, does nothing.- Returns:
-
enableHostnameVerification
public static SslEngineConfigurator enableHostnameVerification()
SslEngineConfigurator
that enables server hostname verification.- Returns:
-
builder
public static SslEngineConfigurators.Builder builder()
Builder to configure and creates aSslEngineConfigurator
instance.- Returns:
-
-