public class SpringVaadinServletService
extends com.vaadin.flow.server.VaadinServletService
| Constructor and Description |
|---|
SpringVaadinServletService(com.vaadin.flow.server.VaadinServlet servlet,
com.vaadin.flow.function.DeploymentConfiguration deploymentConfiguration,
org.springframework.context.ApplicationContext context)
Creates an instance connected to the given servlet and using the given
configuration with provided application
context. |
| Modifier and Type | Method and Description |
|---|---|
protected com.vaadin.flow.server.VaadinSession |
createVaadinSession(com.vaadin.flow.server.VaadinRequest request) |
URL |
getResource(String path,
com.vaadin.flow.server.WebBrowser browser,
com.vaadin.flow.theme.AbstractTheme theme) |
InputStream |
getResourceAsStream(String path,
com.vaadin.flow.server.WebBrowser browser,
com.vaadin.flow.theme.AbstractTheme theme) |
URL |
getStaticResource(String path) |
protected Optional<com.vaadin.flow.di.Instantiator> |
loadInstantiators() |
constructVaadinContext, createRequestHandlers, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getPwaRegistry, getResourceInServletContextOrWebJar, getRouteRegistry, getServiceName, getServlet, getThemedUrl, init, requestCanCreateSession, resolveResource, setDefaultClassLoaderaccessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, addUIInitListener, closeSession, createCriticalNotificationJSON, createCriticalNotificationJSON, createInstantiator, createSessionExpiredJSON, createUINotFoundJSON, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, fireUIInitListeners, getClassLoader, getContext, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getHtmlImportDependencyCache, getInstantiator, getRequestHandlers, getRouter, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isResourceAvailable, isUIActive, loadSession, lockSession, modifyBootstrapPage, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeSession, requestEnd, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponsepublic SpringVaadinServletService(com.vaadin.flow.server.VaadinServlet servlet,
com.vaadin.flow.function.DeploymentConfiguration deploymentConfiguration,
org.springframework.context.ApplicationContext context)
context.servlet - the servlet which receives requestsdeploymentConfiguration - the configuration to usecontext - the Spring application contextprotected Optional<com.vaadin.flow.di.Instantiator> loadInstantiators() throws com.vaadin.flow.server.ServiceException
loadInstantiators in class com.vaadin.flow.server.VaadinServicecom.vaadin.flow.server.ServiceExceptionprotected com.vaadin.flow.server.VaadinSession createVaadinSession(com.vaadin.flow.server.VaadinRequest request)
createVaadinSession in class com.vaadin.flow.server.VaadinServicepublic URL getStaticResource(String path)
getStaticResource in class com.vaadin.flow.server.VaadinServletServicepublic URL getResource(String path, com.vaadin.flow.server.WebBrowser browser, com.vaadin.flow.theme.AbstractTheme theme)
getResource in class com.vaadin.flow.server.VaadinServletServicepublic InputStream getResourceAsStream(String path, com.vaadin.flow.server.WebBrowser browser, com.vaadin.flow.theme.AbstractTheme theme)
getResourceAsStream in class com.vaadin.flow.server.VaadinServletServiceCopyright © 2025 Vaadin Ltd. All Rights Reserved.