org.apache.tapestry.test.mock
Class MockRequestDispatcher
java.lang.Object
org.apache.tapestry.test.mock.MockRequestDispatcher
- All Implemented Interfaces:
- RequestDispatcher
public class MockRequestDispatcher
- extends Object
- implements RequestDispatcher
Used to enable mock testing of internal request forwarding.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockRequestDispatcher
public MockRequestDispatcher(String resourcePath)
forward
public void forward(ServletRequest request,
ServletResponse response)
throws ServletException,
IOException
- Specified by:
forward
in interface RequestDispatcher
- Throws:
ServletException
IOException
include
public void include(ServletRequest request,
ServletResponse response)
throws ServletException,
IOException
- Specified by:
include
in interface RequestDispatcher
- Throws:
ServletException
IOException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.