com.vaadin.incubator.spring.servlet
Class SpringApplicationServlet

Package class diagram package SpringApplicationServlet
java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.vaadin.terminal.gwt.server.AbstractApplicationServlet
              extended by com.vaadin.incubator.spring.servlet.SpringApplicationServlet
All Implemented Interfaces:
com.vaadin.terminal.gwt.server.Constants, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SpringApplicationServlet
extends com.vaadin.terminal.gwt.server.AbstractApplicationServlet

The Class SpringApplicationServlet.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.server.AbstractApplicationServlet
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.ParameterHandlerErrorImpl, com.vaadin.terminal.gwt.server.AbstractApplicationServlet.RequestError, com.vaadin.terminal.gwt.server.AbstractApplicationServlet.RequestType, com.vaadin.terminal.gwt.server.AbstractApplicationServlet.URIHandlerErrorImpl
 
Field Summary
Modifier and Type Field and Description
 
Fields inherited from class com.vaadin.terminal.gwt.server.AbstractApplicationServlet
REQUEST_APPSTYLE, REQUEST_DEFAULT_THEME, REQUEST_FRAGMENT, REQUEST_SHARED_WIDGETSET, REQUEST_VAADIN_STATIC_FILE_PATH, REQUEST_WIDGETSET, VERSION, VERSION_BUILD, VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION
 
Fields inherited from interface com.vaadin.terminal.gwt.server.Constants
AJAX_UIDL_URI, DEFAULT_BUFFER_SIZE, DEFAULT_THEME_CACHETIME, DEFAULT_THEME_NAME, DEFAULT_WIDGETSET, ERROR_NO_WINDOW_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_DEBUG, SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION, 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_RESOURCE_CACHING_TIME_NOT_NUMERIC, WARNING_XSRF_PROTECTION_DISABLED, WIDGETSET_DIRECTORY_PATH
 
Constructor Summary
Constructor and Description
SpringApplicationServlet()
           
 
Method Summary
Modifier and Type Method and Description
protected  Class<? extends com.vaadin.Application> getApplicationClass()
           
protected  com.vaadin.Application getNewApplication(javax.servlet.http.HttpServletRequest request)
           
static org.springframework.web.context.WebApplicationContext getWebApplicationContext()
          Gets the web application context.
 void init(javax.servlet.ServletConfig servletConfig)
           
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class com.vaadin.terminal.gwt.server.AbstractApplicationServlet
criticalNotification, getApplicationCSSClassName, getApplicationProperty, getClassLoader, getDefaultTheme, getNoScriptMessage, getRequestType, getResourceCacheTime, getResourceLocation, getResourcePath, getStaticFilesLocation, getSystemMessages, getSystemProperty, handleURI, isProductionMode, setAjaxPageHeaders, writeAjaxPage, writeAjaxPageHtmlBodyStart, writeAjaxPageHtmlHeader, writeAjaxPageHtmlHeadStart, writeAjaxPageHtmlMainDiv, writeAjaxPageHtmlVaadinScripts
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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

SpringApplicationServlet

public SpringApplicationServlet()
Method Detail

getWebApplicationContext

public static org.springframework.web.context.WebApplicationContext getWebApplicationContext()
Gets the web application context.

Returns:
the web application context

getApplicationClass

protected final Class<? extends com.vaadin.Application> getApplicationClass()
                                                                     throws ClassNotFoundException
Specified by:
getApplicationClass in class com.vaadin.terminal.gwt.server.AbstractApplicationServlet
Throws:
ClassNotFoundException

getNewApplication

protected final com.vaadin.Application getNewApplication(javax.servlet.http.HttpServletRequest request)
                                                  throws javax.servlet.ServletException
Specified by:
getNewApplication in class com.vaadin.terminal.gwt.server.AbstractApplicationServlet
Throws:
javax.servlet.ServletException

init

public final void init(javax.servlet.ServletConfig servletConfig)
                throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class com.vaadin.terminal.gwt.server.AbstractApplicationServlet
Throws:
javax.servlet.ServletException

service

protected final void service(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
                      throws javax.servlet.ServletException,
                             IOException
Overrides:
service in class com.vaadin.terminal.gwt.server.AbstractApplicationServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.