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 withSslEngineConfigurators.AbstractSslEngineConfigurator.andThen(SslEngineConfigurator)
.- Since:
- 4.8.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SslEngineConfigurators.AbstractSslEngineConfigurator
static class
SslEngineConfigurators.Builder
-
Field Summary
Fields Modifier and Type Field Description static SslEngineConfigurators.AbstractSslEngineConfigurator
DEFAULT
DefaultSslEngineConfigurator
, does nothing.static SslEngineConfigurators.AbstractSslEngineConfigurator
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 SslEngineConfigurators.AbstractSslEngineConfigurator
defaultConfigurator()
DefaultSslEngineConfigurator
, does nothing.static SslEngineConfigurators.AbstractSslEngineConfigurator
enableHostnameVerification()
SslEngineConfigurator
that enables server hostname verification.
-
-
-
Field Detail
-
DEFAULT
public static final SslEngineConfigurators.AbstractSslEngineConfigurator DEFAULT
DefaultSslEngineConfigurator
, does nothing.
-
ENABLE_HOSTNAME_VERIFICATION
public static final SslEngineConfigurators.AbstractSslEngineConfigurator ENABLE_HOSTNAME_VERIFICATION
SslEngineConfigurator
that enables server hostname verification.Requires Java 7 or more.
-
-
Method Detail
-
defaultConfigurator
public static SslEngineConfigurators.AbstractSslEngineConfigurator defaultConfigurator()
DefaultSslEngineConfigurator
, does nothing.- Returns:
-
enableHostnameVerification
public static SslEngineConfigurators.AbstractSslEngineConfigurator enableHostnameVerification()
SslEngineConfigurator
that enables server hostname verification.Requires Java 7 or more.
- Returns:
-
builder
public static SslEngineConfigurators.Builder builder()
Builder to configure and creates aSslEngineConfigurator
instance.- Returns:
-
-