Uses of Interface
com.vaadin.flow.server.WrappedSession
Packages that use WrappedSession
-
Uses of WrappedSession in com.vaadin.flow.server
Classes in com.vaadin.flow.server that implement WrappedSessionMethods in com.vaadin.flow.server that return WrappedSessionModifier and TypeMethodDescriptionVaadinSession.getSession()
Gets the underlying session to which this service session is currently associated.VaadinRequest.getWrappedSession()
Gets the session associated with this request, creating a new if there is no session.VaadinRequest.getWrappedSession
(boolean allowSessionCreation) Gets the session associated with this request, optionally creating a new if there is no session.VaadinServletRequest.getWrappedSession()
VaadinServletRequest.getWrappedSession
(boolean allowSessionCreation) Methods in com.vaadin.flow.server with parameters of type WrappedSessionModifier and TypeMethodDescriptionprotected 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.