com.caucho.server.webapp
Class ErrorPageFilter

java.lang.Object
  extended by com.caucho.server.webapp.ErrorPageFilter
All Implemented Interfaces:
Filter

public class ErrorPageFilter
extends java.lang.Object
implements Filter

Represents the final servlet in a filter chain.


Field Summary
static java.lang.String MESSAGE
           
static java.lang.String SHUTDOWN
           
 
Constructor Summary
ErrorPageFilter()
          Create error page filter.
ErrorPageFilter(ErrorPageManager manager)
          Create error page filter.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE

public static java.lang.String MESSAGE

SHUTDOWN

public static java.lang.String SHUTDOWN
Constructor Detail

ErrorPageFilter

public ErrorPageFilter()
Create error page filter.


ErrorPageFilter

public ErrorPageFilter(ErrorPageManager manager)
Create error page filter.

Method Detail

init

public void init(FilterConfig config)
Dummy init.

Specified by:
init in interface Filter

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain next)
              throws ServletException,
                     java.io.IOException
Invokes the final servlet at the end of the chain.

Specified by:
doFilter in interface Filter
Parameters:
request - the servlet request
response - the servlet response
next - the next filter in the chain
Throws:
ServletException
java.io.IOException

destroy

public void destroy()
Dummy destroy

Specified by:
destroy in interface Filter