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 ServletDeployer
- java.lang.Object
-
- com.vaadin.flow.server.startup.ServletDeployer
-
public class ServletDeployer extends Object
Context listener that automatically registers a Vaadin servlet. The servlet is only registered if all of the following conditions apply:
- At least one class annotated with
@Route
is found on the classpath - No servlet is registered for
/*
- No Vaadin servlet is registered
Since:
1.0
Author:
Vaadin Ltd
- At least one class annotated with
-
-
Constructor Summary
Constructors Constructor and Description ServletDeployer()
-
Method Summary
All Methods Modifier and Type Method and Description void
contextDestroyed(ServletContextEvent sce)
void
contextInitialized(ServletContextEvent sce)
-