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