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 ERROR_URI
           
static java.lang.String EXCEPTION
           
static java.lang.String EXCEPTION_TYPE
           
static java.lang.String JSP_EXCEPTION
           
static java.lang.String MESSAGE
           
static java.lang.String SERVLET_NAME
           
static java.lang.String SHUTDOWN
           
static java.lang.String STATUS_CODE
           
 
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

STATUS_CODE

public static java.lang.String STATUS_CODE

EXCEPTION_TYPE

public static java.lang.String EXCEPTION_TYPE

MESSAGE

public static java.lang.String MESSAGE

EXCEPTION

public static java.lang.String EXCEPTION

ERROR_URI

public static java.lang.String ERROR_URI

SERVLET_NAME

public static java.lang.String SERVLET_NAME

JSP_EXCEPTION

public static java.lang.String JSP_EXCEPTION

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