org.apache.myfaces.test.mock
Class MockRequestDispatcher

java.lang.Object
  extended by org.apache.myfaces.test.mock.MockRequestDispatcher
All Implemented Interfaces:
javax.servlet.RequestDispatcher

public class MockRequestDispatcher
extends Object
implements javax.servlet.RequestDispatcher

Since:
1.0.0
Version:
$Id: MockRequestDispatcher.java 804043 2009-08-13 22:08:44Z lu4242 $
Author:
Jacob Hookom

Field Summary
protected  URL url
           
 
Constructor Summary
MockRequestDispatcher(URL url)
           
 
Method Summary
 void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected final URL url
Constructor Detail

MockRequestDispatcher

public MockRequestDispatcher(URL url)
Method Detail

forward

public void forward(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws javax.servlet.ServletException,
                    IOException
Specified by:
forward in interface javax.servlet.RequestDispatcher
Throws:
javax.servlet.ServletException
IOException

include

public void include(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws javax.servlet.ServletException,
                    IOException
Specified by:
include in interface javax.servlet.RequestDispatcher
Throws:
javax.servlet.ServletException
IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.