public class ServletVerifier extends Object implements VaadinServletContextStartupInitializer
In cases of non compatible servlet version application deployment will fail.
For internal use only. May be renamed or removed in a future release.
Constructor and Description |
---|
ServletVerifier() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Set<Class<?>> classSet,
VaadinContext context)
Applies this initializer to the given context
|
static void |
verifyServletVersion()
Verify that the used servlet version is not too old.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
onStartup, requiresLookup
public void initialize(Set<Class<?>> classSet, VaadinContext context) throws VaadinInitializerException
VaadinContextStartupInitializer
initialize
in interface VaadinContextStartupInitializer
classSet
- the Set of application classes which this initializer needs to
do its jobcontext
- the VaadinContext
to use with this initializerVaadinInitializerException
- if an error has occurredpublic static void verifyServletVersion() throws javax.servlet.ServletException
javax.servlet.ServletException
- thrown if the servlet version is not compatibleCopyright © 2021. All rights reserved.