- getCurrent
Gets the currently used session. The current session is automatically defined
when processing reques
- setAttribute
Stores a value in this service session. This can be used to associate data with
the current user so
- getAttribute
Gets a stored attribute value. If a value has been stored for the session, that
value is returned. I
- getService
- getSession
Gets the underlying session to which this service session is currently
associated.
- getState
Returns the lifecycle state of this session.
- hasLock
Checks if the current thread has exclusive access to the given WrappedSession.
- lock
Locks this session to protect its data from concurrent access. Accessing the UI
state from outside t
- unlock
Unlocks this session. This method should always be used in a finally block after
#lock() to ensure t
- getCsrfToken
Gets the CSRF token (aka double submit cookie) that is used to protect against
Cross Site Request Fo
- getLockInstance
Gets the Lock instance that is used for protecting the data of this session from
concurrent access.
- <init>
Creates a new VaadinSession tied to a VaadinService.