com.vaadin.flow.server.

Class 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:

    Serialized Form

    • Constructor Detail

      • FrontendVaadinServlet

        public FrontendVaadinServlet()
    • 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 class VaadinServlet

        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.