|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Filter
Filters the request or response to a servlet. Filters will typically call the next filter in the chain, eventually reaching the servlet at the bottom.
| Method Summary | |
|---|---|
void |
destroy()
Cleanup the filter. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
doFilter performs the actual work of a filter, either modifying the request or the response. |
void |
init(FilterConfig filterConfig)
Initialize the filter. |
| Method Detail |
|---|
void init(FilterConfig filterConfig)
throws ServletException
ServletException
void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws ServletException,
java.io.IOException
request - the servlet requestresponse - the servlet responsechain - the next filter in the chain
ServletException
java.io.IOExceptionvoid destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||