Clover coverage report - Cactus 1.4 for J2EE API 12
Coverage timestamp: Sun Aug 25 2002 18:00:03 BST
file stats: LOC: 83   Methods: 7
NCLOC: 29   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
AbstractWebImplicitObjects.java - 100% 100% 100%
 1   
 /*   Generated by AspectJ version 1.0.5 */
 2   
 package org.apache.cactus.server;
 3   
 import javax.servlet.ServletContext;
 4   
 import javax.servlet.http.HttpServletRequest;
 5   
 import javax.servlet.http.HttpServletResponse;
 6   
 
 7   
 /** 
 8   
  * Holder class that contains the instances of the implicit objects that exist 
 9   
  * for all web requests. Namely they are <code>HttpServletRequest</code>, 
 10   
  * <code>HttpServletResponse</code> and <code>ServletContext</code>. 
 11   
  * 
 12   
  * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 13   
  * 
 14   
  * @version $Id: AbstractWebImplicitObjects.java,v 1.1 2002/03/10 13:58:25 vmassol Exp $ 
 15   
  */
 16   
 public abstract class AbstractWebImplicitObjects implements WebImplicitObjects {
 17   
   /** 
 18   
        * The HTTP request object. 
 19   
        */
 20   
   protected HttpServletRequest request;
 21   
   /** 
 22   
        * The HTTP response object. 
 23   
        */
 24   
   protected HttpServletResponse response;
 25   
   /** 
 26   
        * The Context object. 
 27   
        */
 28   
   protected ServletContext context;
 29   
   /** 
 30   
        * @return the <code>ServletContext</code> implicit object 
 31   
        */
 32  354
   public ServletContext getServletContext() {
 33  354
     return this.context;
 34   
   } 
 35   
 
 36   
   /** 
 37   
        * @param theContext the <code>ServletContext</code> implicit object 
 38   
        */
 39  361
   public void setServletContext(ServletContext theContext) {
 40  361
     this.context = theContext;
 41   
   } 
 42   
 
 43   
   /** 
 44   
        * @return the <code>HttpServletResponse</code> implicit object 
 45   
        */
 46  336
   public HttpServletResponse getHttpServletResponse() {
 47  336
     return this.response;
 48   
   } 
 49   
 
 50   
   /** 
 51   
        * @param theResponse the <code>HttpServletResponse</code> implicit object 
 52   
        */
 53  361
   public void setHttpServletResponse(HttpServletResponse theResponse) {
 54  361
     this.response = theResponse;
 55   
   } 
 56   
 
 57   
   /** 
 58   
        * @return the <code>HttpServletRequest</code> implicit object 
 59   
        */
 60  1261
   public HttpServletRequest getHttpServletRequest() {
 61  1261
     return this.request;
 62   
   } 
 63   
 
 64   
   /** 
 65   
        * @param theRequest the <code>HttpServletRequest</code> implicit object 
 66   
        */
 67  361
   public void setHttpServletRequest(HttpServletRequest theRequest) {
 68  361
     this.request = theRequest;
 69   
   } 
 70   
 
 71   
   /** 
 72   
    * Holder class that contains the instances of the implicit objects that exist 
 73   
    * for all web requests. Namely they are <code>HttpServletRequest</code>, 
 74   
    * <code>HttpServletResponse</code> and <code>ServletContext</code>. 
 75   
    * 
 76   
    * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a> 
 77   
    * 
 78   
    * @version $Id: AbstractWebImplicitObjects.java,v 1.1 2002/03/10 13:58:25 vmassol Exp $ 
 79   
    */
 80  361
   public AbstractWebImplicitObjects() {
 81  361
     super();
 82   
   } 
 83   
 }