ServletRegistrationBean
constructor()
Create a new ServletRegistrationBean instance.
Create a new ServletRegistrationBean instance with the specified Servlet and URL mappings.
Parameters
servlet
the servlet being mapped
urlMappings
the URLs being mapped
Create a new ServletRegistrationBean instance with the specified Servlet and URL mappings.
Parameters
servlet
the servlet being mapped
alwaysMapUrl
if omitted URL mappings should be replaced with '/*'
urlMappings
the URLs being mapped