commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oglu...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods EntityEnclosingMethod.java
Date Thu, 19 Jun 2003 07:54:33 GMT
oglueck     2003/06/19 00:54:33

  Modified:    httpclient/src/java/org/apache/commons/httpclient/methods
                        EntityEnclosingMethod.java
  Log:
  added doc
  
  Revision  Changes    Path
  1.18      +11 -4     jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/EntityEnclosingMethod.java
  
  Index: EntityEnclosingMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/EntityEnclosingMethod.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- EntityEnclosingMethod.java	15 May 2003 18:06:02 -0000	1.17
  +++ EntityEnclosingMethod.java	19 Jun 2003 07:54:33 -0000	1.18
  @@ -375,6 +375,13 @@
   
       /**
        * Sets the request body to be the specified string.
  +     * The string will be submitted, using the encoding
  +     * specified in the Content-Type request header.<br>
  +     * Example: <code>setRequestHeader("Content-type", "text/xml; charset=UTF-8");</code><br>
  +     * Would use the UTF-8 encoding.
  +     * If no charset is specified, the 
  +     * {@link org.apache.commons.httpclient.HttpConstants#DEFAULT_CONTENT_CHARSET default}
  +     * content encoding is used (ISO-8859-1).
        *
        * @param body Request body content as a string
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message