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

    Constructors
    Constructor
    Description
    MprSession(com.vaadin.server.VaadinService service, com.vaadin.flow.server.VaadinSession flowSession)
    MprSession constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.vaadin.flow.server.VaadinSession
    Get the Flow session bound to this MprSession.
    Queue<com.vaadin.server.VaadinSession.FutureAccess>
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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