Class SwingBridgeVaadinServlet.SwingBridgeVaadinServletService

java.lang.Object
com.vaadin.flow.server.VaadinService
com.vaadin.flow.server.VaadinServletService
vaadinx.swing.app.SwingBridgeVaadinServlet.SwingBridgeVaadinServletService
All Implemented Interfaces:
Serializable
Enclosing class:
SwingBridgeVaadinServlet

public static class SwingBridgeVaadinServlet.SwingBridgeVaadinServletService extends com.vaadin.flow.server.VaadinServletService
A VaadinServletService 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 SwingBridgeVaadinServlet.createSwingBridgeService(DeploymentConfiguration).
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
    SwingBridgeVaadinServletService(com.vaadin.flow.server.VaadinServlet servlet, com.vaadin.flow.function.DeploymentConfiguration configuration)
     
  • Method Summary

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

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

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

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

    accessSession, addRpcInvocationListener, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, addSessionLockListener, addUIInitListener, closeSession, createCriticalNotificationJSON, createCriticalNotificationJSON, createDefaultExecutor, createDefaultObjectMapper, createInstantiator, createSessionExpiredJSON, createUINotFoundJSON, createVaadinRequestInterceptors, createVaadinSession, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, fireUIInitListeners, getBootstrapInitialPredicate, getBootstrapUrlPredicate, getClassLoader, getContext, getCsrfTokenAttributeName, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getEventBus, getExecutor, getExistingSession, getInstantiator, getRequestHandlers, getRouter, getSessionAttributeName, getSystemMessages, getSystemMessagesProvider, getVaadinRequestInterceptors, handleRequest, handleSessionExpired, init, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isResourceAvailable, isUIActive, loadInstantiators, 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

    • SwingBridgeVaadinServletService

      public SwingBridgeVaadinServletService(com.vaadin.flow.server.VaadinServlet servlet, com.vaadin.flow.function.DeploymentConfiguration configuration)
  • Method Details

    • getSessionLock

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