java.lang.Object
com.aoapps.servlet.filter.NotFoundFilter
- All Implemented Interfaces:
Filter
Returns not found for any filter-mapping that is sent to this filter.
Due to the limitations of filter mapping URLs, patterns may be provided and handled by this filter itself.
This should be used for the DispatcherType.REQUEST
dispatcher only.
Init Parameters: patterns Comma/space-separated list of patterns (default to *)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
doFilter
(ServletRequest request, ServletResponse response, FilterChain chain) void
init
(FilterConfig config)
-
Constructor Details
-
NotFoundFilter
public NotFoundFilter()
-
-
Method Details
-
init
-
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException - Specified by:
doFilter
in interfaceFilter
- Throws:
IOException
ServletException
-
destroy
public void destroy()
-