public final class SessionState extends Enum
Modifier and Type | Field and Description |
---|---|
static SessionState |
CLOSED
Session has terminated normally.
|
static SessionState |
CONNECTED
Session has connected with the server.
|
static SessionState |
FAILED
Session met with some exception and has closed abnormally.
|
static SessionState |
HIBERNATED
Session is in hibernate mode.
|
static SessionState |
NONE
Initial session state.
|
static SessionState |
RECONNECTING
Session's connection with the server is broken.
|
static SessionState |
RELOADING
Client is reloading the session data from a session JSON String.
|
static SessionState |
SUSPENDED
Session has been closed abnormally by javax.websocket.CloseReason.CloseCodes.GOING_AWAY
for suspension purposes.
|
Modifier and Type | Method and Description |
---|---|
static SessionState |
valueOf(String name) |
static SessionState[] |
values() |
public static final SessionState NONE
public static final SessionState CONNECTED
public static final SessionState RECONNECTING
public static final SessionState RELOADING
public static final SessionState SUSPENDED
public static final SessionState FAILED
public static final SessionState CLOSED
public static final SessionState HIBERNATED
public static SessionState[] values()
public static SessionState valueOf(String name)