Package com.vaadin.mpr.core
Class MprSession
java.lang.Object
com.vaadin.server.VaadinSession
com.vaadin.mpr.core.MprSession
- All Implemented Interfaces:
jakarta.servlet.http.HttpSessionBindingListener,Serializable,EventListener
public class MprSession
extends com.vaadin.server.VaadinSession
Legacy VaadinSession that delegates logic to Flow's VaadinSession when
applicable.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.server.VaadinSession
com.vaadin.server.VaadinSession.FutureAccess, com.vaadin.server.VaadinSession.State -
Field Summary
Fields inherited from class com.vaadin.server.VaadinSession
browser, UI_PARAMETER, UI_PRIORITY_PARAMETER -
Constructor Summary
ConstructorsConstructorDescriptionMprSession(com.vaadin.server.VaadinService service, com.vaadin.flow.server.VaadinSession flowSession) MprSession constructor. -
Method Summary
Methods inherited from class com.vaadin.server.VaadinSession
access, accessSynchronously, addBootstrapListener, addRequestHandler, addUI, addUIProvider, addUIProvider, close, createConnectorId, getAllSessions, getAttribute, getAttribute, getBrowser, getCommunicationManager, getConfiguration, getConverterFactory, getCsrfToken, getCumulativeRequestDuration, getCurrent, getDragAndDropService, getErrorHandler, getForSession, getGlobalResourceHandler, getLastRequestDuration, getLastRequestTimestamp, getLocale, getLockInstance, getNextConnectorId, getNextUIid, getPushId, getRequestHandlers, getService, getSession, getState, getUIByEmbedId, getUIById, getUIProviderPriority, getUIProviders, getUIs, hasLock, hasLock, isClosing, lock, modifyBootstrapResponse, refreshTransients, removeBootstrapListener, removeFromSession, removeRequestHandler, removeUI, removeUIProvider, setAttribute, setAttribute, setCommunicationManager, setConfiguration, setConverterFactory, setCurrent, setErrorHandler, setLastRequestDuration, setLastRequestTimestamp, setLocale, setState, setUIProviderPriority, storeInSession, valueBound, valueUnbound
-
Constructor Details
-
MprSession
public MprSession(com.vaadin.server.VaadinService service, com.vaadin.flow.server.VaadinSession flowSession) MprSession constructor.- Parameters:
service- Flow VaadinService instanceflowSession- Flow VaadinSession instance
-
-
Method Details
-
getPendingAccessQueue
- Overrides:
getPendingAccessQueuein classcom.vaadin.server.VaadinSession
-
unlock
public void unlock()- Overrides:
unlockin classcom.vaadin.server.VaadinSession
-
getFlowSession
protected com.vaadin.flow.server.VaadinSession getFlowSession()Get the Flow session bound to this MprSession.- Returns:
- bound Flow session
-