public class ServletVerifier extends Object
In cases of non compatible servlet version application deployment will fail.
Constructor and Description |
---|
ServletVerifier() |
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.
|
public void onStartup(Set<Class<?>> c, ServletContext ctx) throws ServletException
ServletException
public static void verifyServletVersion() throws ServletException
ServletException
- thrown if the servlet version is not compatibleCopyright © 2018. All rights reserved.