Home » displaytag-1.1.1-src » org » displaytag » filter » [javadoc | source]
public class: MockFilterSupport [javadoc | source]

All Implemented Interfaces:
    Serializable, Servlet, ServletConfig

Simulates the behaviour of a filter using a simple servlet. The servlet must be mapped to the "*.filtered" extension; request include this extension after the name of the tested jsp. Since servletunit doesn't support filter testing, we are passing the request to this servlet which calls the filter and then forward the request to the given path without ".filtered". Replaced by native filter support in ServletUnit 1.6.
Nested Class Summary:
public static class  MockFilterSupport.MockFilterChain  Simple FilterChain used to test Filters. 
Field Summary
public static final  String FILTERED_EXTENSION    extension mapped to this servlet. 
protected static  Log log    logger. 
Method from org.displaytag.filter.MockFilterSupport Summary:
Methods from javax.servlet.http.HttpServlet:
Methods from javax.servlet.GenericServlet:
destroy,   getInitParameter,   getInitParameterNames,   getServletConfig,   getServletContext,   getServletInfo,   getServletName,   init,   init,   log,   log,   service
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.filter.MockFilterSupport Detail:
 protected  void doGet(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException