public class JmixVaadinServletService
extends com.vaadin.spring.server.SpringVaadinServletService
implements com.vaadin.server.communication.AtmospherePushConnection.UidlWriterFactory
Modifier and Type | Class and Description |
---|---|
protected static class |
JmixVaadinServletService.JmixFileUploadHandler
Add support for
JmixFileUpload component with XHR upload mechanism. |
protected static class |
JmixVaadinServletService.JmixHeartbeatHandler |
protected static class |
JmixVaadinServletService.JmixServletBootstrapHandler
Add ability to redirect to base application URL if we have unparsable path tail
|
protected static class |
JmixVaadinServletService.JmixServletUIInitHandler |
protected static class |
JmixVaadinServletService.JmixUidlRequestHandler |
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected org.springframework.core.env.Environment |
environment |
protected io.jmix.core.Messages |
messages |
protected boolean |
performanceTestMode |
protected WebJarResourceResolver |
resolver |
protected java.lang.String |
serviceUrl |
protected boolean |
testMode |
protected ThemeVariantsProvider |
themeVariantsProvider |
protected UiProperties |
uiProperties |
protected UiThemeProperties |
uiThemeProperties |
Constructor and Description |
---|
JmixVaadinServletService(com.vaadin.server.VaadinServlet servlet,
com.vaadin.server.DeploymentConfiguration deploymentConfiguration,
java.lang.String serviceUrl,
org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.vaadin.server.RequestHandler> |
createRequestHandlers() |
com.vaadin.server.communication.UidlWriter |
createUidlWriter() |
java.util.List<java.lang.String> |
findAndEscapeThemeVariants() |
java.lang.String |
getConfiguredTheme(com.vaadin.server.VaadinRequest request) |
protected java.lang.String |
getThemeVariants() |
getServiceInitListeners, getWebApplicationContext
getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, getThemeResourceAsStream, isStandalone, requestCanCreateSession
accessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, cleanupSession, closeSession, createCriticalNotificationJSON, createVaadinSession, criticalNotification, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, generateConnectorId, 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
protected java.lang.String serviceUrl
protected UiProperties uiProperties
protected UiThemeProperties uiThemeProperties
protected boolean testMode
protected boolean performanceTestMode
protected org.springframework.context.ApplicationContext applicationContext
protected io.jmix.core.Messages messages
protected WebJarResourceResolver resolver
protected org.springframework.core.env.Environment environment
protected ThemeVariantsProvider themeVariantsProvider
public JmixVaadinServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, java.lang.String serviceUrl, org.springframework.context.ApplicationContext applicationContext) throws com.vaadin.server.ServiceException
com.vaadin.server.ServiceException
public java.lang.String getConfiguredTheme(com.vaadin.server.VaadinRequest request)
getConfiguredTheme
in class com.vaadin.server.VaadinServletService
protected java.util.List<com.vaadin.server.RequestHandler> createRequestHandlers() throws com.vaadin.server.ServiceException
createRequestHandlers
in class com.vaadin.spring.server.SpringVaadinServletService
com.vaadin.server.ServiceException
public com.vaadin.server.communication.UidlWriter createUidlWriter()
createUidlWriter
in interface com.vaadin.server.communication.AtmospherePushConnection.UidlWriterFactory
protected java.lang.String getThemeVariants()
public java.util.List<java.lang.String> findAndEscapeThemeVariants()