Class Vaadin4SpringServletService

java.lang.Object
com.vaadin.server.VaadinService
com.vaadin.server.VaadinServletService
com.vaadin.spring.server.SpringVaadinServletService
org.vaadin.spring.servlet.Vaadin4SpringServletService
All Implemented Interfaces:
Serializable

public class Vaadin4SpringServletService extends SpringVaadinServletService
Extended version of SpringVaadinServletService that adds support for VaadinRequestStartListeners and VaadinRequestEndListeners.
Author:
Petter Holmström (petter@vaadin.com)
See Also:
  • Field Summary

    Fields inherited from class com.vaadin.server.VaadinService

    URL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_RESTART_APPLICATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Vaadin4SpringServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, String serviceUrl)
    Create a servlet service instance that allows the use of a custom service URL.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    requestEnd(com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response, com.vaadin.server.VaadinSession session)
     
    void
    requestStart(com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response)
     

    Methods inherited from class com.vaadin.server.VaadinServletService

    getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredTheme, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, getThemeResourceAsStream, 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, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, init, initConnectorIdGenerator, initDependencyFilters, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isUIActive, loadSession, lockSession, preserveUIOnRefresh, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeServiceDestroyListener, removeSession, removeSessionDestroyListener, removeSessionInitListener, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSessionLock, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Vaadin4SpringServletService

      public Vaadin4SpringServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, String serviceUrl) throws com.vaadin.server.ServiceException
      Create a servlet service instance that allows the use of a custom service URL.
      Parameters:
      servlet -
      deploymentConfiguration -
      serviceUrl - custom service URL to use (relative to context path, starting with a slash) or null for default
      Throws:
      com.vaadin.server.ServiceException
  • Method Details

    • requestStart

      public void requestStart(com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response)
      Overrides:
      requestStart in class com.vaadin.server.VaadinService
    • requestEnd

      public void requestEnd(com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response, com.vaadin.server.VaadinSession session)
      Overrides:
      requestEnd in class com.vaadin.server.VaadinService