| Constructor and Description |
|---|
ErrorFilter() |
| Modifier and Type | Method and Description |
|---|---|
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 config)
Initialize the filter.
|
void |
setErrorCode(int code) |
void |
setException(ServletException exception) |
public void setErrorCode(int code)
public void setException(ServletException exception)
public void init(FilterConfig config)
Filterpublic void destroy()
Filterpublic void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, java.io.IOException
FilterdoFilter in interface Filterrequest - the servlet requestresponse - the servlet responsechain - the next filter in the chainServletExceptionjava.io.IOException