We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.startup.
Class ServletVerifier
- java.lang.Object
-
- com.vaadin.flow.server.startup.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 Summary
Constructors Constructor and Description ServletVerifier()
-
Method Summary
All Methods Modifier and Type Method and Description void
onStartup(Set<Class<?>> c, ServletContext ctx)
static void
verifyServletVersion()
Verify that the used servlet version is not too old.
-
-
-
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
-
-