01: /*
02: * Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: */
07: package javax.servlet;
08:
09: /**
10: * Interface definition for filter objects
11: *
12: * @author <a href="mailto:rick_knowles@hotmail.com">Rick Knowles</a>
13: */
14: public interface Filter {
15: public void destroy();
16:
17: public void doFilter(ServletRequest request,
18: ServletResponse response, FilterChain chain)
19: throws java.io.IOException, ServletException;
20:
21: public void init(FilterConfig filterConfig) throws ServletException;
22: }
|