Clover coverage report - Cactus 1.4 for J2EE API 12
Coverage timestamp: Sun Aug 25 2002 18:00:03 BST
file stats: LOC: 35   Methods: 1
NCLOC: 8   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
HttpServletRequestWrapper.java - 100% 100% 100%
 1   
 /*   Generated by AspectJ version 1.0.5 */
 2   
 package org.apache.cactus.server;
 3   
 import javax.servlet.http.HttpServletRequest;
 4   
 import org.apache.cactus.ServletURL;
 5   
 
 6   
 /** 
 7   
  * Encapsulation class for the Servlet 2.2 API <code>HttpServletRequest</code>. 
 8   
  * This is an implementation that delegates all the call to the 
 9   
  * <code>HttpServletRequest</code> object passed in the constructor except for 
 10   
  * some overridden methods which are use to simulate a URL. This is to be able 
 11   
  * to simulate any URL that would have been used to call the test method : if 
 12   
  * this was not done, the URL that would be returned (by calling the 
 13   
  * <code>getRequestURI()</code> method or others alike) would be the URL of the 
 14   
  * server redirector servlet or JSP and not a URL that the test case want to 
 15   
  * simulate. 
 16   
  * 
 17   
  * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 18   
  * 
 19   
  * @version $Id: HttpServletRequestWrapper.java,v 1.2 2002/04/14 10:15:03 vmassol Exp $ 
 20   
  */
 21   
 public class HttpServletRequestWrapper extends AbstractHttpServletRequestWrapper {
 22   
   /** 
 23   
        * Construct an <code>HttpServletRequest</code> instance that delegates 
 24   
        * it's method calls to the request object passed as parameter and that 
 25   
        * uses the URL passed as parameter to simulate a URL from which the request 
 26   
        * would come from. 
 27   
        * 
 28   
        * @param theRequest the real HTTP request 
 29   
        * @param theURL the URL to simulate or <code>null</code> if none 
 30   
        */
 31  177
   public HttpServletRequestWrapper(HttpServletRequest theRequest, ServletURL theURL) {
 32  177
     super(theRequest, theURL);
 33   
     ;
 34   
   } 
 35   
 }