Package com.vaadin.mpr.core
Class MprServletService
java.lang.Object
com.vaadin.server.VaadinService
com.vaadin.server.VaadinServletService
com.vaadin.mpr.core.MprServletService
- All Implemented Interfaces:
Serializable
public class MprServletService
extends com.vaadin.server.VaadinServletService
Legacy VaadinServletService that does the bridge between legacy sessions and
Flow sessions, in order to make session locks work across platforms.
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.server.VaadinService
URL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_RESTART_APPLICATION -
Constructor Summary
ConstructorsConstructorDescriptionMprServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration) MprServletService constuctor. -
Method Summary
Modifier and TypeMethodDescriptionaccessSession(com.vaadin.server.VaadinSession session, Runnable runnable) protected List<com.vaadin.server.RequestHandler>protected com.vaadin.server.VaadinSessioncreateVaadinSession(com.vaadin.server.VaadinRequest request) static Stringprotected booleanvoidrequestEnd(com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response, com.vaadin.server.VaadinSession session) Methods inherited from class com.vaadin.server.VaadinServletService
getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredTheme, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServlet, getStaticFileLocation, getThemeResourceAsStream, isStandalone, requestCanCreateSessionMethods inherited from class com.vaadin.server.VaadinService
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, isCsrfTokenValid, isOtherSessionLocked, isUIActive, loadSession, lockSession, preserveUIOnRefresh, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeServiceDestroyListener, removeSession, removeSessionDestroyListener, removeSessionInitListener, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSessionLock, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponse
-
Constructor Details
-
MprServletService
public MprServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration) throws com.vaadin.server.ServiceException MprServletService constuctor.- Parameters:
servlet- Legacy servlet instancedeploymentConfiguration- Legacy deployment configuration instance- Throws:
com.vaadin.server.ServiceException- Service exception
-
-
Method Details
-
getMprVersion
-
getFrameworkVersion
-
getServiceName
- Overrides:
getServiceNamein classcom.vaadin.server.VaadinServletService
-
accessSession
- Overrides:
accessSessionin classcom.vaadin.server.VaadinService
-
createRequestHandlers
protected List<com.vaadin.server.RequestHandler> createRequestHandlers() throws com.vaadin.server.ServiceException- Overrides:
createRequestHandlersin classcom.vaadin.server.VaadinServletService- Throws:
com.vaadin.server.ServiceException
-
createVaadinSession
protected com.vaadin.server.VaadinSession createVaadinSession(com.vaadin.server.VaadinRequest request) throws com.vaadin.server.ServiceException - Overrides:
createVaadinSessionin classcom.vaadin.server.VaadinService- Throws:
com.vaadin.server.ServiceException
-
isAtmosphereAvailable
protected boolean isAtmosphereAvailable()- Overrides:
isAtmosphereAvailablein classcom.vaadin.server.VaadinService
-
requestEnd
public void requestEnd(com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response, com.vaadin.server.VaadinSession session) - Overrides:
requestEndin classcom.vaadin.server.VaadinService
-