You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by fr...@apache.org on 2002/02/13 10:35:01 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/environment/wrapper RequestWrapper.java

froehlich    02/02/13 01:35:01

  Modified:    src/java/org/apache/cocoon/environment/wrapper
                        RequestWrapper.java
  Log:
  applied patch from  MIYABE Tatsuhiko [miyabe@jzf.co.jp].
  Form encoding enhancement!
  
  Revision  Changes    Path
  1.6       +6 -1      xml-cocoon2/src/java/org/apache/cocoon/environment/wrapper/RequestWrapper.java
  
  Index: RequestWrapper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/environment/wrapper/RequestWrapper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- RequestWrapper.java	13 Feb 2002 08:23:40 -0000	1.5
  +++ RequestWrapper.java	13 Feb 2002 09:35:01 -0000	1.6
  @@ -70,7 +70,7 @@
    * are different.
    *
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version $Id: RequestWrapper.java,v 1.5 2002/02/13 08:23:40 cziegeler Exp $
  + * @version $Id: RequestWrapper.java,v 1.6 2002/02/13 09:35:01 froehlich Exp $
    */
   public final class RequestWrapper implements Request {
   
  @@ -134,6 +134,11 @@
   
       public String getCharacterEncoding() {
           return this.req.getCharacterEncoding();
  +    }
  +
  +    public void setCharacterEncoding(String enc)
  +    throws java.io.UnsupportedEncodingException {
  +        this.req.setCharacterEncoding(enc);
       }
   
       public int getContentLength() {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org