Class SwingBridgeSpringServlet.SwingBridgeSpringVaadinServletService

java.lang.Object
com.vaadin.flow.server.VaadinService
com.vaadin.flow.server.VaadinServletService
com.vaadin.flow.spring.SpringVaadinServletService
vaadinx.swing.app.spring.SwingBridgeSpringServlet.SwingBridgeSpringVaadinServletService
All Implemented Interfaces:
Serializable
Enclosing class:
SwingBridgeSpringServlet

public static class SwingBridgeSpringServlet.SwingBridgeSpringVaadinServletService extends com.vaadin.flow.spring.SpringVaadinServletService
A SpringVaadinServletService whose session lock is virtual-thread-aware. Public because an app with its own service behaviour has to extend it rather than replace it.
See Also:
  • Field Summary

    Fields inherited from class com.vaadin.flow.server.VaadinService

    ATMOSPHERE_MISSING_ERROR, INVALID_ATMOSPHERE_VERSION_WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
    SwingBridgeSpringVaadinServletService(com.vaadin.flow.spring.SpringServlet servlet, com.vaadin.flow.function.DeploymentConfiguration configuration, org.springframework.context.ApplicationContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Lock
    getSessionLock(com.vaadin.flow.server.WrappedSession wrappedSession)
     

    Methods inherited from class com.vaadin.flow.spring.SpringVaadinServletService

    createDefaultExecutor, getExecutor, getStaticResource, init, loadInstantiators

    Methods inherited from class com.vaadin.flow.server.VaadinServletService

    constructVaadinContext, createRequestHandlers, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getPwaRegistry, getResource, getResourceAsStream, getResourceInServletContext, getRouteRegistry, getServiceName, getServlet, requestCanCreateSession, resolveResource, setDefaultClassLoader

    Methods inherited from class com.vaadin.flow.server.VaadinService

    accessSession, addRpcInvocationListener, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, addSessionLockListener, addUIInitListener, closeSession, createCriticalNotificationJSON, createCriticalNotificationJSON, createDefaultObjectMapper, createInstantiator, createSessionExpiredJSON, createUINotFoundJSON, createVaadinRequestInterceptors, createVaadinSession, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, fireUIInitListeners, getBootstrapInitialPredicate, getBootstrapUrlPredicate, getClassLoader, getContext, getCsrfTokenAttributeName, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getEventBus, getExistingSession, getInstantiator, getRequestHandlers, getRouter, getSessionAttributeName, getSystemMessages, getSystemMessagesProvider, getVaadinRequestInterceptors, handleRequest, handleSessionExpired, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isResourceAvailable, isUIActive, loadSession, lockSession, modifyIndexHtmlResponse, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeSession, requestEnd, requestStart, runPendingAccessTasks, setBootstrapInitialPredicate, setBootstrapUrlPredicate, setClassLoader, setCurrent, setCurrentInstances, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponse

    Methods inherited from class Object

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

    • SwingBridgeSpringVaadinServletService

      public SwingBridgeSpringVaadinServletService(com.vaadin.flow.spring.SpringServlet servlet, com.vaadin.flow.function.DeploymentConfiguration configuration, org.springframework.context.ApplicationContext context)
  • Method Details

    • getSessionLock

      protected final Lock getSessionLock(com.vaadin.flow.server.WrappedSession wrappedSession)
      Overrides:
      getSessionLock in class com.vaadin.flow.server.VaadinService