tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/core WrappedRequest.java
Date Mon, 10 Jul 2000 18:28:18 GMT
craigmcc    00/07/10 11:28:18

  Modified:    proposals/catalina/src/share/org/apache/tomcat/core
                        WrappedRequest.java
  Log:
  Add clearCookies(), clearHeaders(), and clearLocale() that were added to
  the underlying HttpRequest interface.
  
  Revision  Changes    Path
  1.4       +28 -4     jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/core/WrappedRequest.java
  
  Index: WrappedRequest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/core/WrappedRequest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WrappedRequest.java	2000/05/31 18:56:11	1.3
  +++ WrappedRequest.java	2000/07/10 18:28:17	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/core/WrappedRequest.java,v
1.3 2000/05/31 18:56:11 craigmcc Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/05/31 18:56:11 $
  + * $Header: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/core/WrappedRequest.java,v
1.4 2000/07/10 18:28:17 craigmcc Exp $
  + * $Revision: 1.4 $
  + * $Date: 2000/07/10 18:28:17 $
    *
    * ====================================================================
    *
  @@ -103,7 +103,7 @@
    * </ul>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2000/05/31 18:56:11 $
  + * @version $Revision: 1.4 $ $Date: 2000/07/10 18:28:17 $
    */
   
   final class WrappedRequest
  @@ -274,6 +274,30 @@
        */
       public void addLocale(Locale locale) {
   	request.addLocale(locale);
  +    }
  +
  +
  +    /**
  +     * Clear the collection of Cookies associated with this Request.
  +     */
  +    public void clearCookies() {
  +	request.clearCookies();
  +    }
  +
  +
  +    /**
  +     * Clear the collection of Headers associated with this Request.
  +     */
  +    public void clearHeaders() {
  +	request.clearHeaders();
  +    }
  +
  +
  +    /**
  +     * Clear the collection of Locales associated with this Request.
  +     */
  +    public void clearLocales() {
  +	request.clearLocales();
       }
   
   
  
  
  

Mime
View raw message