Returns the selected servlet, initialized to provide access to sessions
and servlet context information. Only valid to call if
InvocationContext.isFilterActive returns false.
Pushes the current filter onto the execution stack and switches to the next filter or the selected servlet.
This can be used to simulate the effect of the
javax.servlet.FilterChain.doFilter doFilter call.
Note: this method specifies
ServletRequest and
ServletResponse because those are the
types passed to
Filter.doFilter ; however, HttpUnit requires the objects to implement
HttpServletRequest and
HttpServletResponse because they will eventually be passed to an
javax.servlet.http.HttpServlet .
Parameters: request - the request to pass to the next filter. May be a wrapper. Parameters: response - the response object to pass to the next filter. May be a wrapper. since: 1.6