|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object servletunit.FilterChainSimulator
A unit testing tool for simulating a FilterChain
Constructor Summary | |
FilterChainSimulator()
Constructor for the FilterChainSimulator object |
Method Summary | |
void |
doFilter(ServletRequest parm1,
ServletResponse parm2)
Description of the Method |
boolean |
doFilterCalled()
Indicates whether doFilter has been called. |
ServletRequest |
getRequest()
Gets the request passed in as a parameter of the doFilter call. |
ServletResponse |
getResponse()
* Gets the response passed in as a parameter of the doFilter call. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilterChainSimulator()
Method Detail |
public void doFilter(ServletRequest parm1, ServletResponse parm2) throws javax.servlet.ServletException, java.io.IOException
parm1
- The requestparm2
- The response
javax.servlet.ServletException
java.io.IOException
- Description of the Exceptionpublic ServletRequest getRequest()
public ServletResponse getResponse()
public boolean doFilterCalled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |