com.vaadin.flow.server.
Class FrontendVaadinServlet
- java.lang.Object
-
- HttpServlet
-
- com.vaadin.flow.server.VaadinServlet
-
- com.vaadin.flow.server.FrontendVaadinServlet
-
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.
Since:
1.4
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor and Description FrontendVaadinServlet()
-
Method Summary
All Methods Modifier and Type Method and Description protected void
service(HttpServletRequest request, 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, init, safeEscapeForHtml, serveStaticOrWebJarRequest, servletInitialized
-
-
-
-
Method Detail
-
service
protected void service(HttpServletRequest request, HttpServletResponse response) throws 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:
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.
-
-