com.vaadin.flow.server.startup.

Class ServletVerifier


  • public class ServletVerifier
    extends Object

    Verify the servlet version on container initialization.

    In cases of non compatible servlet version application deployment will fail.

    • Constructor Detail

      • ServletVerifier

        public ServletVerifier()
    • Method Detail

      • onStartup

        public void onStartup(Set<Class<?>> c,
                              ServletContext ctx)
                       throws ServletException

        Throws:

        ServletException

      • verifyServletVersion

        public static void verifyServletVersion()
                                         throws ServletException

        Verify that the used servlet version is not too old.

        Throws:

        ServletException - thrown if the servlet version is not compatible