public abstract class BaseFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FilterConfig |
filterConfig |
protected static Log |
log |
| Constructor and Description |
|---|
BaseFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain) |
void |
init(FilterConfig filterConfig) |
abstract void |
processFilter(HttpServletRequest req,
HttpServletResponse res,
FilterChain chain) |
public void init(FilterConfig filterConfig)
throws ServletException
ServletExceptionpublic final void doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException,
ServletException
IOExceptionServletExceptionpublic abstract void processFilter(HttpServletRequest req,
HttpServletResponse res,
FilterChain chain)
throws IOException,
ServletException
IOExceptionServletExceptionpublic void destroy()
Copyright © 2018. All rights reserved.