Class MprSession

  • All Implemented Interfaces:
    Serializable, EventListener, javax.servlet.http.HttpSessionBindingListener

    public class MprSession
    extends com.vaadin.server.VaadinSession
    Legacy VaadinSession that delegates logic to Flow's VaadinSession when applicable.
    See Also:
    Serialized Form
    • 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
    • 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.VaadinSession getFlowSession()
      Get the Flow session bound to this MprSession.
      Queue<com.vaadin.server.VaadinSession.FutureAccess> getPendingAccessQueue()  
      void unlock()  
      • 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
    • Constructor Detail

      • MprSession

        public MprSession​(com.vaadin.server.VaadinService service,
                          com.vaadin.flow.server.VaadinSession flowSession)
        MprSession constructor.
        Parameters:
        service - Flow VaadinService instance
        flowSession - Flow VaadinSession instance
    • Method Detail

      • getPendingAccessQueue

        public Queue<com.vaadin.server.VaadinSession.FutureAccess> getPendingAccessQueue()
        Overrides:
        getPendingAccessQueue in class com.vaadin.server.VaadinSession
      • unlock

        public void unlock()
        Overrides:
        unlock in class com.vaadin.server.VaadinSession
      • getFlowSession

        protected com.vaadin.flow.server.VaadinSession getFlowSession()
        Get the Flow session bound to this MprSession.
        Returns:
        bound Flow session