com.vaadin.flow.server.

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

      • FrontendVaadinServlet

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

        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.