com.vaadin.terminal.gwt.server
Class ApplicationServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.vaadin.terminal.gwt.server.AbstractApplicationServlet
com.vaadin.terminal.gwt.server.ApplicationServlet
- All Implemented Interfaces:
- Constants, Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- GAEApplicationServlet
public class ApplicationServlet
- extends AbstractApplicationServlet
This servlet connects a Vaadin Application to Web.
- Since:
- 5.0
- Version:
- 7.0.0.alpha3
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
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_ROOT_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_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, WIDGETSET_MISMATCH_INFO |
Methods inherited from class com.vaadin.terminal.gwt.server.AbstractApplicationServlet |
createCommunicationManager, createWrappedRequest, criticalNotification, getApplicationContext, getApplicationProperty, getApplicationUrl, getClassLoader, getDefaultTheme, getDeploymentConfiguration, getExistingApplication, getRequestPathInfo, getRequestType, getResourceCacheTime, getResourceLocation, getResourcePath, getStaticFilesLocation, getSystemMessages, getSystemMessages, getSystemProperty, isAllowedVAADINResourceUrl, isProductionMode, safeEscapeForHtml, service, stripSpecialChars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationServlet
public ApplicationServlet()
init
public void init(ServletConfig servletConfig)
throws ServletException
- Called by the servlet container to indicate to a servlet that the servlet
is being placed into service.
- Specified by:
init
in interface Servlet
- Overrides:
init
in class AbstractApplicationServlet
- Parameters:
servletConfig
- the object containing the servlet's configuration and
initialization parameters
- Throws:
ServletException
- if an exception has occurred that interferes with the
servlet's normal operation.
getNewApplication
protected Application getNewApplication(HttpServletRequest request)
throws ServletException
- Description copied from class:
AbstractApplicationServlet
- Creates a new application for the given request.
- Specified by:
getNewApplication
in class AbstractApplicationServlet
- Parameters:
request
- the HTTP request.
- Returns:
- A new Application instance.
- Throws:
ServletException
getApplicationClass
protected Class<? extends Application> getApplicationClass()
throws ClassNotFoundException
- Specified by:
getApplicationClass
in class AbstractApplicationServlet
- Throws:
ClassNotFoundException
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.