public class LspsVaadinServletService
extends com.vaadin.server.VaadinServletService
getThemeResourceAsStream(UI, String, String)
.
2.)
Fix bug in FileUploadHandler (http://dev.vaadin.com/ticket/10096).
3.)
Patched published file handler able to provide top level .js files even if APP/PUBLISHED part of url
was eaten up by web.xml. See TopLevelPublishedFileHandler
for details.
4.)
Vaadin request handlers that eventually call lsps code were patched to close the transaction and
perform the navigation right before creating and sending the json response. This is because we do
not want to have to close the transaction in every single button/click/upload/value changed etc callback.
See LspsUIBase
, LSPS-8988 and subsequent LSPS-9005 for more detailed explanation.Constructor and Description |
---|
LspsVaadinServletService(com.vaadin.server.VaadinServlet servlet,
com.vaadin.server.DeploymentConfiguration deploymentConfiguration,
com.vaadin.server.SerializableSupplier<com.whitestein.lsps.human.ejb.VaadinThemeCacheLocal> vaadinThemeCache)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.vaadin.server.RequestHandler> |
createRequestHandlers() |
java.io.InputStream |
getThemeResourceAsStream(com.vaadin.ui.UI uI,
java.lang.String themeName,
java.lang.String resource) |
getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredTheme, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, 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, getServiceInitListeners, 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
public LspsVaadinServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, com.vaadin.server.SerializableSupplier<com.whitestein.lsps.human.ejb.VaadinThemeCacheLocal> vaadinThemeCache) throws com.vaadin.server.ServiceException
servlet
- deploymentConfiguration
- vaadinThemeCache
- com.vaadin.server.ServiceException
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 java.io.InputStream getThemeResourceAsStream(com.vaadin.ui.UI uI, java.lang.String themeName, java.lang.String resource) throws java.io.IOException
getThemeResourceAsStream
in class com.vaadin.server.VaadinServletService
java.io.IOException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.