com.vaadin.server
Class LegacyVaadinServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.vaadin.server.VaadinServlet
              extended by com.vaadin.server.LegacyVaadinServlet
All Implemented Interfaces:
Constants, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class LegacyVaadinServlet
extends VaadinServlet

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.server.VaadinServlet
VaadinServlet.RequestError, VaadinServlet.RequestType, VaadinServlet.ServletService
 
Field Summary
 
Fields inherited from interface com.vaadin.server.Constants
DEFAULT_BUFFER_SIZE, DEFAULT_THEME_CACHETIME, DEFAULT_THEME_NAME, DEFAULT_WIDGETSET, ERROR_NO_UI_FOUND, INVALID_SECURITY_KEY_MSG, MAX_BUFFER_SIZE, NOT_PRODUCTION_MODE_INFO, PARAMETER_VAADIN_RESOURCES, PARAMETER_WIDGETSET, PORTAL_PARAMETER_VAADIN_RESOURCE_PATH, PORTAL_PARAMETER_VAADIN_THEME, PORTAL_PARAMETER_VAADIN_WIDGETSET, SERVLET_PARAMETER_CLOSE_IDLE_UIS, SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION, SERVLET_PARAMETER_HEARTBEAT_RATE, SERVLET_PARAMETER_PRODUCTION_MODE, SERVLET_PARAMETER_RESOURCE_CACHE_TIME, THEME_DIRECTORY_PATH, URL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_REPAINT_ALL, URL_PARAMETER_RESTART_APPLICATION, URL_PARAMETER_THEME, WARNING_HEARTBEAT_INTERVAL_NOT_NUMERIC, WARNING_RESOURCE_CACHING_TIME_NOT_NUMERIC, WARNING_XSRF_PROTECTION_DISABLED, WIDGETSET_DIRECTORY_PATH, WIDGETSET_MISMATCH_INFO
 
Constructor Summary
LegacyVaadinServlet()
           
 
Method Summary
protected  java.lang.Class<? extends LegacyApplication> getApplicationClass()
           
protected  LegacyApplication getNewApplication(javax.servlet.http.HttpServletRequest request)
           
protected  void onVaadinSessionStarted(WrappedHttpServletRequest request, VaadinServletSession session)
           
protected  boolean shouldCreateApplication(WrappedHttpServletRequest request)
           
 
Methods inherited from class com.vaadin.server.VaadinServlet
createCommunicationManager, createDeploymentConfiguration, createServletService, createWrappedRequest, criticalNotification, destroy, getApplicationContext, getApplicationUrl, getDefaultTheme, getExistingApplication, getRequestPathInfo, getRequestType, getResourceLocation, getResourcePath, getVaadinService, init, isAllowedVAADINResourceUrl, safeEscapeForHtml, service, stripSpecialChars
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyVaadinServlet

public LegacyVaadinServlet()
Method Detail

getApplicationClass

protected java.lang.Class<? extends LegacyApplication> getApplicationClass()
                                                                    throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

getNewApplication

protected LegacyApplication getNewApplication(javax.servlet.http.HttpServletRequest request)
                                       throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

shouldCreateApplication

protected boolean shouldCreateApplication(WrappedHttpServletRequest request)
                                   throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

onVaadinSessionStarted

protected void onVaadinSessionStarted(WrappedHttpServletRequest request,
                                      VaadinServletSession session)
                               throws javax.servlet.ServletException
Overrides:
onVaadinSessionStarted in class VaadinServlet
Throws:
javax.servlet.ServletException


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.