org.apache.jetspeed.mocks
Class ResourceLocatingRequestDispatcher

java.lang.Object
  extended by com.mockrunner.mock.web.MockRequestDispatcher
      extended by org.apache.jetspeed.mocks.ResourceLocatingRequestDispatcher
All Implemented Interfaces:
javax.servlet.RequestDispatcher

public class ResourceLocatingRequestDispatcher
extends com.mockrunner.mock.web.MockRequestDispatcher


Field Summary
protected  String info
           
protected  String path
           
protected  javax.servlet.Servlet servlet
           
 
Constructor Summary
ResourceLocatingRequestDispatcher(javax.servlet.Servlet servlet, String path, String info)
           
 
Method Summary
 void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 
Methods inherited from class com.mockrunner.mock.web.MockRequestDispatcher
forward, getForwardedRequest, getForwardedResponse, getIncludedRequest, getIncludedResponse, getPath, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servlet

protected javax.servlet.Servlet servlet

path

protected String path

info

protected String info
Constructor Detail

ResourceLocatingRequestDispatcher

public ResourceLocatingRequestDispatcher(javax.servlet.Servlet servlet,
                                         String path,
                                         String info)
Method Detail

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
Overrides:
include in class com.mockrunner.mock.web.MockRequestDispatcher
Throws:
javax.servlet.ServletException
IOException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.