Package | Description |
---|---|
com.vaadin.flow.server |
Modifier and Type | Class and Description |
---|---|
class |
WrappedHttpSession
Wrapper for
HttpSession . |
Modifier and Type | Method and Description |
---|---|
WrappedSession |
VaadinSession.getSession()
Gets the underlying session to which this service session is currently
associated.
|
WrappedSession |
VaadinServletRequest.getWrappedSession() |
WrappedSession |
VaadinRequest.getWrappedSession()
Gets the session associated with this request, creating a new if there is
no session.
|
WrappedSession |
VaadinServletRequest.getWrappedSession(boolean allowSessionCreation) |
WrappedSession |
VaadinRequest.getWrappedSession(boolean allowSessionCreation)
Gets the session associated with this request, optionally creating a new
if there is no session.
|
Modifier and Type | Method and Description |
---|---|
protected Lock |
VaadinService.getSessionLock(WrappedSession wrappedSession)
Gets the lock instance used to lock the VaadinSession associated with the
given wrapped session.
|
protected static boolean |
VaadinSession.hasLock(VaadinService service,
WrappedSession session)
Checks if the current thread has exclusive access to the given
WrappedSession.
|
protected VaadinSession |
VaadinService.loadSession(WrappedSession wrappedSession)
Called when the VaadinSession should be loaded from the underlying HTTP
session.
|
protected Lock |
VaadinService.lockSession(WrappedSession wrappedSession)
Locks the given session for this service instance.
|
protected VaadinSession |
VaadinService.readFromHttpSession(WrappedSession wrappedSession)
Performs the actual read of the VaadinSession from the underlying HTTP
session after sanity checks have been performed.
|
void |
VaadinSession.refreshTransients(WrappedSession wrappedSession,
VaadinService vaadinService)
Refreshes the transient fields of the session to ensure they are up to
date.
|
protected void |
VaadinService.removeFromHttpSession(WrappedSession wrappedSession)
Performs the actual removal of the VaadinSession from the underlying HTTP
session after sanity checks have been performed.
|
void |
VaadinService.removeSession(WrappedSession wrappedSession)
Called when the VaadinSession should be removed from the underlying HTTP
session.
|
protected void |
VaadinService.storeSession(VaadinSession session,
WrappedSession wrappedSession)
Called when the VaadinSession should be stored.
|
protected void |
VaadinService.unlockSession(WrappedSession wrappedSession,
Lock lock)
Releases the lock for the given session for this service instance.
|
protected void |
VaadinService.writeToHttpSession(WrappedSession wrappedSession,
VaadinSession session)
Performs the actual write of the VaadinSession to the underlying HTTP
session after sanity checks have been performed.
|
Copyright © 2025. All rights reserved.