Package org.mariadb.r2dbc.message.flow
Enum AuthenticationFlow.State
- java.lang.Object
-
- java.lang.Enum<AuthenticationFlow.State>
-
- org.mariadb.r2dbc.message.flow.AuthenticationFlow.State
-
- All Implemented Interfaces:
Serializable,Comparable<AuthenticationFlow.State>
- Enclosing class:
- AuthenticationFlow
public static enum AuthenticationFlow.State extends Enum<AuthenticationFlow.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH_SWITCHCOMPLETEDHANDSHAKEINITSSL_REQUEST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationFlow.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static AuthenticationFlow.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final AuthenticationFlow.State INIT
-
SSL_REQUEST
public static final AuthenticationFlow.State SSL_REQUEST
-
HANDSHAKE
public static final AuthenticationFlow.State HANDSHAKE
-
AUTH_SWITCH
public static final AuthenticationFlow.State AUTH_SWITCH
-
COMPLETED
public static final AuthenticationFlow.State COMPLETED
-
-
Method Detail
-
values
public static AuthenticationFlow.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthenticationFlow.State c : AuthenticationFlow.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationFlow.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-