Package io.split.engine.sse.client
Enum SSEClient.StatusMessage
- java.lang.Object
-
- java.lang.Enum<SSEClient.StatusMessage>
-
- io.split.engine.sse.client.SSEClient.StatusMessage
-
- All Implemented Interfaces:
Serializable,Comparable<SSEClient.StatusMessage>
- Enclosing class:
- SSEClient
public static enum SSEClient.StatusMessage extends Enum<SSEClient.StatusMessage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTEDFIRST_EVENTFORCED_STOPINITIALIZATION_IN_PROGRESSNONRETRYABLE_ERRORRETRYABLE_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SSEClient.StatusMessagevalueOf(String name)Returns the enum constant of this type with the specified name.static SSEClient.StatusMessage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTED
public static final SSEClient.StatusMessage CONNECTED
-
RETRYABLE_ERROR
public static final SSEClient.StatusMessage RETRYABLE_ERROR
-
NONRETRYABLE_ERROR
public static final SSEClient.StatusMessage NONRETRYABLE_ERROR
-
INITIALIZATION_IN_PROGRESS
public static final SSEClient.StatusMessage INITIALIZATION_IN_PROGRESS
-
FORCED_STOP
public static final SSEClient.StatusMessage FORCED_STOP
-
FIRST_EVENT
public static final SSEClient.StatusMessage FIRST_EVENT
-
-
Method Detail
-
values
public static SSEClient.StatusMessage[] 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 (SSEClient.StatusMessage c : SSEClient.StatusMessage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSEClient.StatusMessage 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
-
-