Name

FilterChain

Synopsis

A class that implements the FilterChain interface is passed to the doFilter() method of Filter. This allows a filter to pass the request on to the next filter in the chain by invoking the doFilter() method of the next filter configured for that resource or, if all filters have been processed, invoking the target resource.

public interface FilterChain {
// Public Instance Methods
   public abstract void doFilter(ServletRequest request, 
        ServletResponse response) throws IOExceptionServletException;  
}

Passed To

javax.servlet.Filter.doFilter()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.