We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
Direct Known Subclasses:
- extends AbstractApplicationServlet
public class ApplicationServlet
This servlet connects a Vaadin Application to Web.
Since:
5.0
Version:
6.8.18
Author:
Vaadin Ltd.
See Also:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.server.AbstractApplicationServlet |
---|
AbstractApplicationServlet.ParameterHandlerErrorImpl, AbstractApplicationServlet.RequestError, AbstractApplicationServlet.RequestType, AbstractApplicationServlet.URIHandlerErrorImpl |
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
ApplicationServlet()
|
Method Summary | |
---|---|
protected Class<? extends Application> |
getApplicationClass()
|
protected Application |
getNewApplication(HttpServletRequest request)
Creates a new application for the given request. |
void |
init(ServletConfig servletConfig)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. |
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 |
---|
ApplicationServlet
public ApplicationServlet()
Method Detail |
---|
init
public void init(ServletConfig servletConfig)
throws ServletException
- Specified by:
init
in interfaceServlet
- Overrides:
init
in classAbstractApplicationServlet
- 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.
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
getNewApplication
protected Application getNewApplication(HttpServletRequest request)
throws ServletException
- Specified by:
getNewApplication
in classAbstractApplicationServlet
- Parameters:
request
- the HTTP request.- Returns:
- A new Application instance.
- Throws:
ServletException
Description copied from class: AbstractApplicationServlet
Creates a new application for the given request.
getApplicationClass
protected Class<? extends Application> getApplicationClass()
throws ClassNotFoundException
- Specified by:
getApplicationClass
in classAbstractApplicationServlet
- Throws:
ClassNotFoundException