public enum VaadinSessionState extends Enum<VaadinSessionState>
Enum Constant and Description |
---|
CLOSED
The session is closed; all the
UI s have been removed and
SessionDestroyListener s have been called. |
CLOSING
The
close method has been called; the
session will be closed as soon as the current request ends. |
OPEN
The session is active and accepting client requests.
|
Modifier and Type | Method and Description |
---|---|
static VaadinSessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VaadinSessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VaadinSessionState OPEN
public static final VaadinSessionState CLOSING
close
method has been called; the
session will be closed as soon as the current request ends.public static final VaadinSessionState CLOSED
UI
s have been removed and
SessionDestroyListener
s have been called.public static VaadinSessionState[] values()
for (VaadinSessionState c : VaadinSessionState.values()) System.out.println(c);
public static VaadinSessionState 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 © 2023. All rights reserved.