public static enum SSEClient.StatusMessage extends Enum<SSEClient.StatusMessage>
| Enum Constant and Description |
|---|
CONNECTED |
FIRST_EVENT |
FORCED_STOP |
INITIALIZATION_IN_PROGRESS |
NONRETRYABLE_ERROR |
RETRYABLE_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static SSEClient.StatusMessage |
valueOf(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.
|
public static final SSEClient.StatusMessage CONNECTED
public static final SSEClient.StatusMessage RETRYABLE_ERROR
public static final SSEClient.StatusMessage NONRETRYABLE_ERROR
public static final SSEClient.StatusMessage INITIALIZATION_IN_PROGRESS
public static final SSEClient.StatusMessage FORCED_STOP
public static final SSEClient.StatusMessage FIRST_EVENT
public static SSEClient.StatusMessage[] values()
for (SSEClient.StatusMessage c : SSEClient.StatusMessage.values()) System.out.println(c);
public static SSEClient.StatusMessage 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 © 2021. All rights reserved.