The {@link #setFilter(Filter) Filter} must be specified before calling{@link #onStartup(ServletContext)}. Registrations can be associated with {@link #setUrlPatterns URL patterns} and/or servlets (either by{@link #setServletNames name} or via a {@link #setServletRegistrationBeans ServletRegistrationBean}s. When no URL pattern or servlets are specified the filter will be associated to '/*'. The filter name will be deduced if not specified. @author Phillip Webb @see ServletContextInitializer @see ServletContext#addFilter(String,Filter)
|
|
|
|
|
|
|
|