Package co.arago.hiro.client.websocket
Enum AuthenticatedWebSocketHandler.Status
- java.lang.Object
-
- java.lang.Enum<AuthenticatedWebSocketHandler.Status>
-
- co.arago.hiro.client.websocket.AuthenticatedWebSocketHandler.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuthenticatedWebSocketHandler.Status>
- Enclosing class:
- AuthenticatedWebSocketHandler
public static enum AuthenticatedWebSocketHandler.Status extends java.lang.Enum<AuthenticatedWebSocketHandler.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSEDCLOSINGFAILEDNONERESTARTINGRUNNINGRUNNING_PRELIMINARYSTARTING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticatedWebSocketHandler.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuthenticatedWebSocketHandler.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AuthenticatedWebSocketHandler.Status NONE
-
STARTING
public static final AuthenticatedWebSocketHandler.Status STARTING
-
RUNNING_PRELIMINARY
public static final AuthenticatedWebSocketHandler.Status RUNNING_PRELIMINARY
-
RUNNING
public static final AuthenticatedWebSocketHandler.Status RUNNING
-
RESTARTING
public static final AuthenticatedWebSocketHandler.Status RESTARTING
-
CLOSING
public static final AuthenticatedWebSocketHandler.Status CLOSING
-
FAILED
public static final AuthenticatedWebSocketHandler.Status FAILED
-
CLOSED
public static final AuthenticatedWebSocketHandler.Status CLOSED
-
-
Method Detail
-
values
public static AuthenticatedWebSocketHandler.Status[] 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 (AuthenticatedWebSocketHandler.Status c : AuthenticatedWebSocketHandler.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticatedWebSocketHandler.Status 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
-
-