public static enum UserSessionModel.SessionPersistenceState extends Enum<UserSessionModel.SessionPersistenceState>
Enum Constant and Description |
---|
PERSISTENT
Session will be marked as persistent when created and it will be saved into the persistent storage (EG.
|
TRANSIENT
This userSession will be valid just for the single request.
|
Modifier and Type | Method and Description |
---|---|
static UserSessionModel.SessionPersistenceState |
fromString(String sessionPersistenceString) |
static UserSessionModel.SessionPersistenceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserSessionModel.SessionPersistenceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserSessionModel.SessionPersistenceState PERSISTENT
public static final UserSessionModel.SessionPersistenceState TRANSIENT
public static UserSessionModel.SessionPersistenceState[] values()
for (UserSessionModel.SessionPersistenceState c : UserSessionModel.SessionPersistenceState.values()) System.out.println(c);
public static UserSessionModel.SessionPersistenceState 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 nullpublic static UserSessionModel.SessionPersistenceState fromString(String sessionPersistenceString)
Copyright © 2021 JBoss by Red Hat. All rights reserved.