Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MESSAGE |
static java.lang.String |
SHUTDOWN |
Constructor and Description |
---|
ErrorPageFilter()
Create error page filter.
|
ErrorPageFilter(ErrorPageManager manager)
Create error page filter.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Dummy destroy
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain next)
Invokes the final servlet at the end of the chain.
|
void |
init(FilterConfig config)
Dummy init.
|
public static java.lang.String MESSAGE
public static java.lang.String SHUTDOWN
public ErrorPageFilter()
public ErrorPageFilter(ErrorPageManager manager)
public void init(FilterConfig config)
public void doFilter(ServletRequest request, ServletResponse response, FilterChain next) throws ServletException, java.io.IOException
doFilter
in interface Filter
request
- the servlet requestresponse
- the servlet responsenext
- the next filter in the chainServletException
java.io.IOException