Enum ScramScheme.State
- java.lang.Object
-
- java.lang.Enum<ScramScheme.State>
-
- org.apache.hc.client5.http.impl.auth.ScramScheme.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ScramScheme.State>
- Enclosing class:
- ScramScheme
private static enum ScramScheme.State extends java.lang.Enum<ScramScheme.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOUNCEDCLIENT_FINAL_SENTCLIENT_FIRST_SENTCOMPLETEFAILEDINITSERVER_FIRST_RCVD
-
Constructor Summary
Constructors Modifier Constructor Description privateState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScramScheme.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ScramScheme.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 ScramScheme.State INIT
-
ANNOUNCED
public static final ScramScheme.State ANNOUNCED
-
CLIENT_FIRST_SENT
public static final ScramScheme.State CLIENT_FIRST_SENT
-
SERVER_FIRST_RCVD
public static final ScramScheme.State SERVER_FIRST_RCVD
-
CLIENT_FINAL_SENT
public static final ScramScheme.State CLIENT_FINAL_SENT
-
COMPLETE
public static final ScramScheme.State COMPLETE
-
FAILED
public static final ScramScheme.State FAILED
-
-
Method Detail
-
values
public static ScramScheme.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 (ScramScheme.State c : ScramScheme.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 ScramScheme.State valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-