public enum SslState extends Enum<SslState> implements io.r2dbc.mssql.message.Message
| Enum Constant and Description |
|---|
AFTER_LOGIN_ONLY
SSL disabled once it was used for the login message.
|
CONNECTION
SSL requested for the entire connection.
|
LOGIN_ONLY
SSL requested during the
Login7 message only. |
NEGOTIATED
SSL handshake negotiated.
|
OFF
SSL not enabled (default).
|
| Modifier and Type | Method and Description |
|---|---|
static SslState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslState OFF
public static final SslState NEGOTIATED
public static final SslState CONNECTION
public static final SslState AFTER_LOGIN_ONLY
public static SslState[] values()
for (SslState c : SslState.values()) System.out.println(c);
public static SslState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.