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 |
getStaticResource(String path) |
void |
init() |
protected Optional<com.vaadin.flow.di.Instantiator> |
loadInstantiators() |
constructVaadinContext, createRequestHandlers, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getPwaRegistry, getResource, getResourceAsStream, getResourceInServletContext, getRouteRegistry, getServiceName, getServlet, requestCanCreateSession, resolveResource, setDefaultClassLoaderaccessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, addUIInitListener, closeSession, createCriticalNotificationJSON, createCriticalNotificationJSON, createInstantiator, createSessionExpiredJSON, createUINotFoundJSON, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, fireUIInitListeners, getBootstrapInitialPredicate, getBootstrapUrlPredicate, getClassLoader, getContext, getCsrfTokenAttributeName, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getInstantiator, getRequestHandlers, getRouter, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isResourceAvailable, isUIActive, loadSession, lockSession, modifyBootstrapPage, modifyIndexHtmlResponse, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeSession, requestEnd, requestStart, runPendingAccessTasks, setBootstrapInitialPredicate, setBootstrapUrlPredicate, 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.ServiceExceptionpublic void init()
throws com.vaadin.flow.server.ServiceException
init in class com.vaadin.flow.server.VaadinServletServicecom.vaadin.flow.server.ServiceExceptionprotected com.vaadin.flow.server.VaadinSession createVaadinSession(com.vaadin.flow.server.VaadinRequest request)
createVaadinSession in class com.vaadin.flow.server.VaadinServiceCopyright © 2021 Vaadin Ltd. All Rights Reserved.