| java.lang.Object servletunit.RequestDispatcherSimulator
RequestDispatcherSimulator | public class RequestDispatcherSimulator implements RequestDispatcher(Code) | | Simulates a javax.servlet.RequestDispatcher object.
|
Constructor Summary | |
public | RequestDispatcherSimulator(Object dispatchedResource) Parameters: dispatchedResource - The dispatchedResource object represents the resource thatthis javax.servlet.RequestDispatcher is tied to.Currently this class only supports javax.servlet.Servlet objectsand java.lang.String objects. |
RequestDispatcherSimulator | public RequestDispatcherSimulator(Object dispatchedResource)(Code) | | Parameters: dispatchedResource - The dispatchedResource object represents the resource thatthis javax.servlet.RequestDispatcher is tied to.Currently this class only supports javax.servlet.Servlet objectsand java.lang.String objects. If the parameter passed in is nota javax.servlet.Servlet object when forward or include is calledthe parameter's toString method is called and sent to System.out .Otherwise, the appropriate service method is called. |
|
|