Package io.jmix.ui.sys.vaadin
Class JmixVaadinServletService
java.lang.Object
com.vaadin.server.VaadinService
com.vaadin.server.VaadinServletService
com.vaadin.spring.server.SpringVaadinServletService
io.jmix.ui.sys.vaadin.JmixVaadinServletService
- All Implemented Interfaces:
- com.vaadin.server.communication.AtmospherePushConnection.UidlWriterFactory,- Serializable
public class JmixVaadinServletService
extends com.vaadin.spring.server.SpringVaadinServletService
implements com.vaadin.server.communication.AtmospherePushConnection.UidlWriterFactory
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classAdd support forJmixFileUploadcomponent with XHR upload mechanism.protected static classprotected static classAdd ability to redirect to base application URL if we have unparsable path tailprotected static classprotected static class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected org.springframework.core.env.Environmentprotected Messagesprotected booleanprotected WebJarResourceResolverprotected Stringprotected ThemeVariantsProviderprotected UiPropertiesprotected UiThemePropertiesFields inherited from class com.vaadin.server.VaadinServiceURL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_RESTART_APPLICATION
- 
Constructor SummaryConstructorsConstructorDescriptionJmixVaadinServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, String serviceUrl, org.springframework.context.ApplicationContext applicationContext) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected List<com.vaadin.server.RequestHandler>com.vaadin.server.communication.UidlWritergenerateConnectorId(com.vaadin.server.VaadinSession session, com.vaadin.server.ClientConnector connector) protected StringgenerateTestConnectorId(com.vaadin.server.VaadinSession session, com.vaadin.server.ClientConnector connector) getConfiguredTheme(com.vaadin.server.VaadinRequest request) protected Stringprotected StringtoLongNumberString(String data) Methods inherited from class com.vaadin.spring.server.SpringVaadinServletServicegetServiceInitListeners, getWebApplicationContextMethods inherited from class com.vaadin.server.VaadinServletServicegetApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, getThemeResourceAsStream, isStandalone, requestCanCreateSessionMethods inherited from class com.vaadin.server.VaadinServiceaccessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, cleanupSession, closeSession, createCriticalNotificationJSON, createVaadinSession, criticalNotification, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, getClassLoader, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getLockAttributeName, getRequestHandlers, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, init, initConnectorIdGenerator, initDependencyFilters, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isUIActive, loadSession, lockSession, preserveUIOnRefresh, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeServiceDestroyListener, removeSession, removeSessionDestroyListener, removeSessionInitListener, requestEnd, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSessionLock, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponse
- 
Field Details- 
serviceUrl
- 
uiProperties
- 
uiThemeProperties
- 
performanceTestModeprotected boolean performanceTestMode
- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
messages
- 
resolver
- 
environmentprotected org.springframework.core.env.Environment environment
- 
themeVariantsProvider
 
- 
- 
Constructor Details- 
JmixVaadinServletServicepublic JmixVaadinServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, String serviceUrl, org.springframework.context.ApplicationContext applicationContext) throws com.vaadin.server.ServiceException - Throws:
- com.vaadin.server.ServiceException
 
 
- 
- 
Method Details- 
getConfiguredTheme- Overrides:
- getConfiguredThemein class- com.vaadin.server.VaadinServletService
 
- 
createRequestHandlersprotected List<com.vaadin.server.RequestHandler> createRequestHandlers() throws com.vaadin.server.ServiceException- Overrides:
- createRequestHandlersin class- com.vaadin.spring.server.SpringVaadinServletService
- Throws:
- com.vaadin.server.ServiceException
 
- 
createUidlWriterpublic com.vaadin.server.communication.UidlWriter createUidlWriter()- Specified by:
- createUidlWriterin interface- com.vaadin.server.communication.AtmospherePushConnection.UidlWriterFactory
 
- 
getThemeVariants
- 
findAndEscapeThemeVariants
- 
generateConnectorIdpublic String generateConnectorId(com.vaadin.server.VaadinSession session, com.vaadin.server.ClientConnector connector) - Overrides:
- generateConnectorIdin class- com.vaadin.server.VaadinService
 
- 
generateTestConnectorIdprotected String generateTestConnectorId(com.vaadin.server.VaadinSession session, com.vaadin.server.ClientConnector connector) 
- 
toLongNumberString
 
-