Example usage for Java org.springframework.boot.web.servlet ServletRegistrationBean fields, constructors, methods, implement or subclass
The text is from its open source code.
ServletRegistrationBean(T servlet, String... urlMappings) Create a new ServletRegistrationBean instance with the specified Servlet and URL mappings. | |
ServletRegistrationBean() Create a new ServletRegistrationBean instance. |
void | addUrlMappings(String... urlMappings) Add URL mappings, as defined in the Servlet specification, for the servlet. |
String | getServletName() Returns the servlet name that will be registered. |
void | setLoadOnStartup(int loadOnStartup) Sets the loadOnStartup priority. |
void | setServlet(T servlet) Sets the servlet to be registered. |
void | setUrlMappings(Collection Set the URL mappings for the servlet. |