Package org.opencms.main
Class CmsVaadinServletService
java.lang.Object
com.vaadin.server.VaadinService
com.vaadin.server.VaadinServletService
org.opencms.main.CmsVaadinServletService
- All Implemented Interfaces:
Serializable
A custom servlet service implementation.
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.server.VaadinService
URL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_RESTART_APPLICATION
-
Constructor Summary
ConstructorDescriptionCmsVaadinServletService
(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetThemeResourceAsStream
(com.vaadin.ui.UI uI, String themeName, String resource) Methods inherited from class com.vaadin.server.VaadinServletService
createRequestHandlers, getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredTheme, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, isStandalone, requestCanCreateSession
Methods inherited from class com.vaadin.server.VaadinService
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
-
Constructor Details
-
CmsVaadinServletService
public CmsVaadinServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration) throws com.vaadin.server.ServiceException Creates a new instance.- Parameters:
servlet
- the servlet instancedeploymentConfiguration
- the deployment configuration- Throws:
com.vaadin.server.ServiceException
- if something goes wrong
-
-
Method Details
-
getThemeResourceAsStream
public InputStream getThemeResourceAsStream(com.vaadin.ui.UI uI, String themeName, String resource) throws IOException - Overrides:
getThemeResourceAsStream
in classcom.vaadin.server.VaadinServletService
- Throws:
IOException
- See Also:
-
VaadinServletService.getThemeResourceAsStream(com.vaadin.ui.UI, java.lang.String, java.lang.String)
-