Dynamic registerServletFilter(ServletContext, Filter)
|
Documentation changed from old to new. |
Add the given filter to the ServletContext and map it to the
{@code DispatcherServlet} as follows:
- a default filter name is chosen based on its concrete type
- the {@code asyncSupported} flag is set depending on the
return value of asyncSupported
- a filter mapping is created with dispatcher types {@code REQUEST},
{@code FORWARD}, {@code INCLUDE}, and conditionally {@code ASYNC} depending
on the return value of asyncSupported
|