public class CubaVaadinServletService
extends com.vaadin.server.VaadinServletService
implements com.vaadin.server.communication.AtmospherePushConnection.UidlWriterFactory
Modifier and Type | Class and Description |
---|---|
protected static class |
CubaVaadinServletService.CubaFileUploadHandler |
protected static class |
CubaVaadinServletService.CubaHeartbeatHandler |
protected static class |
CubaVaadinServletService.CubaPublishedFileHandler |
protected static class |
CubaVaadinServletService.CubaReentrantLock |
protected static class |
CubaVaadinServletService.CubaServletBootstrapHandler
Add ability to redirect to base application URL if we have unparsable path tail
|
protected static class |
CubaVaadinServletService.CubaServletUIInitHandler |
protected static class |
CubaVaadinServletService.CubaUidlRequestHandler |
protected static class |
CubaVaadinServletService.TestVaadinSession
Generates non-random IDs for components, used for performance testing.
|
Modifier and Type | Field and Description |
---|---|
protected Events |
events |
protected Messages |
messages |
protected boolean |
performanceTestMode |
protected boolean |
testMode |
protected WebAuthConfig |
webAuthConfig |
protected WebConfig |
webConfig |
Constructor and Description |
---|
CubaVaadinServletService(com.vaadin.server.VaadinServlet servlet,
com.vaadin.server.DeploymentConfiguration deploymentConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.vaadin.server.RequestHandler> |
createRequestHandlers() |
com.vaadin.server.communication.UidlWriter |
createUidlWriter() |
protected com.vaadin.server.VaadinSession |
createVaadinSession(com.vaadin.server.VaadinRequest request) |
java.util.List<java.lang.String> |
findAndEscapeThemeVariants() |
java.lang.String |
getConfiguredTheme(com.vaadin.server.VaadinRequest request) |
protected java.lang.String |
getThemeVariants() |
protected java.util.concurrent.locks.Lock |
lockSession(com.vaadin.server.WrappedSession wrappedSession) |
getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, getThemeResourceAsStream, isStandalone, requestCanCreateSession
accessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, cleanupSession, closeSession, createCriticalNotificationJSON, criticalNotification, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, generateConnectorId, getClassLoader, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getLockAttributeName, getRequestHandlers, getServiceInitListeners, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, init, initConnectorIdGenerator, initDependencyFilters, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isUIActive, loadSession, preserveUIOnRefresh, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeServiceDestroyListener, removeSession, removeSessionDestroyListener, removeSessionInitListener, requestEnd, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSessionLock, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponse
protected WebConfig webConfig
protected WebAuthConfig webAuthConfig
protected boolean testMode
protected boolean performanceTestMode
protected Events events
protected Messages messages
public CubaVaadinServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration) 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.server.VaadinServletService
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()
protected com.vaadin.server.VaadinSession createVaadinSession(com.vaadin.server.VaadinRequest request) throws com.vaadin.server.ServiceException
createVaadinSession
in class com.vaadin.server.VaadinService
com.vaadin.server.ServiceException
protected java.util.concurrent.locks.Lock lockSession(com.vaadin.server.WrappedSession wrappedSession)
lockSession
in class com.vaadin.server.VaadinService