Package com.vaadin.mpr.core
Class MprSession
- java.lang.Object
-
- com.vaadin.server.VaadinSession
-
- com.vaadin.mpr.core.MprSession
-
- All Implemented Interfaces:
Serializable,EventListener,javax.servlet.http.HttpSessionBindingListener
public class MprSession extends com.vaadin.server.VaadinSessionLegacy VaadinSession that delegates logic to Flow's VaadinSession when applicable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MprSession(com.vaadin.server.VaadinService service, com.vaadin.flow.server.VaadinSession flowSession)MprSession constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.vaadin.flow.server.VaadinSessiongetFlowSession()Get the Flow session bound to this MprSession.Queue<com.vaadin.server.VaadinSession.FutureAccess>getPendingAccessQueue()voidunlock()-
Methods inherited from class com.vaadin.server.VaadinSession
access, accessSynchronously, addBootstrapListener, addRequestHandler, addUI, addUIProvider, close, createConnectorId, getAllSessions, getAttribute, getAttribute, getBrowser, getCommunicationManager, getConfiguration, getConverterFactory, getCsrfToken, getCumulativeRequestDuration, getCurrent, getDragAndDropService, getErrorHandler, getForSession, getGlobalResourceHandler, getLastRequestDuration, getLastRequestTimestamp, getLocale, getLockInstance, getNextUIid, getPushId, getRequestHandlers, getService, getSession, getState, getUIByEmbedId, getUIById, getUIProviders, getUIs, hasLock, hasLock, isClosing, lock, modifyBootstrapResponse, refreshTransients, removeBootstrapListener, removeFromSession, removeRequestHandler, removeUI, removeUIProvider, setAttribute, setAttribute, setCommunicationManager, setConfiguration, setConverterFactory, setCurrent, setErrorHandler, setLastRequestDuration, setLastRequestTimestamp, setLocale, setState, storeInSession, valueBound, valueUnbound
-
-
-
-
Method Detail
-
getPendingAccessQueue
public Queue<com.vaadin.server.VaadinSession.FutureAccess> 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
-
-