rwaldhoff    01/08/13 16:55:35

  Modified:    httpclient/src/java/org/apache/commons/httpclient Tag:
                        rlwrefactoring HttpMethodBase.java
  Log:
  Returning getDebug/setDebug (as was done to the main branch last week)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.10.2.10 +21 -4     
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java
  
  Index: HttpMethodBase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java,v
  retrieving revision 1.10.2.9
  retrieving revision 1.10.2.10
  diff -u -r1.10.2.9 -r1.10.2.10
  --- HttpMethodBase.java       2001/08/13 23:35:30     1.10.2.9
  +++ HttpMethodBase.java       2001/08/13 23:55:35     1.10.2.10
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java,v
 1.10.2.9 2001/08/13 23:35:30 rwaldhoff Exp $
  - * $Revision: 1.10.2.9 $
  - * $Date: 2001/08/13 23:35:30 $
  + * $Header: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java,v
 1.10.2.10 2001/08/13 23:55:35 rwaldhoff Exp $
  + * $Revision: 1.10.2.10 $
  + * $Date: 2001/08/13 23:55:35 $
    * ====================================================================
    * Copyright (C) The Apache Software Foundation. All rights reserved.
    *
  @@ -65,7 +65,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Remy Maucherat</a>
    * @author Rodney Waldhoff
  - * @version $Id: HttpMethodBase.java,v 1.10.2.9 2001/08/13 23:35:30 rwaldhoff Exp $
  + * @version $Id: HttpMethodBase.java,v 1.10.2.10 2001/08/13 23:55:35 rwaldhoff Exp $
    */
   public abstract class HttpMethodBase implements HttpMethod {
   
  @@ -87,6 +87,23 @@
       }
   
       // ------------------------------------------- Property Setters and Getters
  +
  +    /**
  +     * Set debug level.
  +     * @see org.apache.commons.httpclient.log
  +     */
  +    public void setDebug(int debug) {
  +        log.setLevel(debug);
  +    }
  +
  +    /**
  +     * Get debug level.
  +     * @see org.apache.commons.httpclient.log
  +     */
  +    public int getDebug() {
  +        return log.getLevel();
  +    }
  +
   
       /**
        * Obtain the name of this method, suitable for use in the "request line",
  
  
  

Reply via email to