com.vaadin.flow.server.
Class FrontendVaadinServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.vaadin.flow.server.VaadinServlet
-
- com.vaadin.flow.server.FrontendVaadinServlet
-
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class FrontendVaadinServlet extends VaadinServlet
This servlet handles static resources and webjars. It's purpose to handle "/frontend" URI if the main Vaadin servlet has non-root mapping.
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor and Description FrontendVaadinServlet()
-
Method Summary
All Methods Modifier and Type Method and Description protected void
service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Receives standard HTTP requests from the public service method and dispatches them.
-
Methods inherited from class com.vaadin.flow.server.VaadinServlet
createDeploymentConfiguration, createDeploymentConfiguration, createServletService, createServletService, createStaticFileHandler, createVaadinRequest, destroy, getApplicationUrl, getCurrent, getLastPathParameter, getService, getWebJarServer, handleContextOrServletRootWithoutSlash, init, safeEscapeForHtml, serveStaticOrWebJarRequest, servletInitialized
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
service
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
Description copied from class:
VaadinServlet
Receives standard HTTP requests from the public service method and dispatches them.
Overrides:
service
in classVaadinServlet
Parameters:
request
- the object that contains the request the client made of the servlet.response
- the object that contains the response the servlet returns to the client.Throws:
javax.servlet.ServletException
- if an input or output error occurs while the servlet is handling the TRACE request.IOException
- if the request for the TRACE cannot be handled.
-
-