You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by og...@apache.org on 2005/07/21 22:14:43 UTC

svn commit: r220177 - /jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java

Author: oglueck
Date: Thu Jul 21 13:14:39 2005
New Revision: 220177

URL: http://svn.apache.org/viewcvs?rev=220177&view=rev
Log:
doc

Modified:
    jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java

Modified: jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java?rev=220177&r1=220176&r2=220177&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java (original)
+++ jakarta/commons/proper/httpclient/branches/HTTPCLIENT_2_0_BRANCH/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java Thu Jul 21 13:14:39 2005
@@ -1,7 +1,7 @@
 /*
  * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java,v 1.10.2.1 2004/02/22 18:21:13 olegk Exp $
  * $Revision: 1.10.2.1 $
- * $Date: 2004/02/22 18:21:13 $
+ * $Date$
  *
  * ====================================================================
  *
@@ -46,7 +46,7 @@
  * @author <a href="mailto:dion@apache.org">dIon Gillard</a>
  * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
  * @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>
- * @version $Revision: 1.10.2.1 $ $Date: 2004/02/22 18:21:13 $
+ * @version $Revision: 1.10.2.1 $ $Date$
  *
  * @see ChunkedInputStream
  * @since 2.0
@@ -138,7 +138,10 @@
 
     /**
      * Write the specified byte to our output stream.
-     *
+     * 
+     * Note: Avoid this method as it will cause an inefficient single byte chunk. 
+     * Use write (byte[], int, int) instead.
+     * 
      * @param b The byte to be written
      * @throws IOException if an input/output error occurs
      * @throws IllegalStateException if stream already closed



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