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
ConstructorsConstructorDescriptionSwingBridgeSpringVaadinServletService(com.vaadin.flow.spring.SpringServlet servlet, com.vaadin.flow.function.DeploymentConfiguration configuration, org.springframework.context.ApplicationContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected final LockgetSessionLock(com.vaadin.flow.server.WrappedSession wrappedSession) Methods inherited from class com.vaadin.flow.spring.SpringVaadinServletService
createDefaultExecutor, getExecutor, getStaticResource, init, loadInstantiatorsMethods inherited from class com.vaadin.flow.server.VaadinServletService
constructVaadinContext, createRequestHandlers, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getPwaRegistry, getResource, getResourceAsStream, getResourceInServletContext, getRouteRegistry, getServiceName, getServlet, requestCanCreateSession, resolveResource, setDefaultClassLoaderMethods 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
-
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
- Overrides:
getSessionLockin classcom.vaadin.flow.server.VaadinService
-