commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oglu...@apache.org
Subject svn commit: r220180 - /jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java
Date Thu, 21 Jul 2005 20:29:49 GMT
Author: oglueck
Date: Thu Jul 21 13:29:45 2005
New Revision: 220180

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

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

Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java?rev=220180&r1=220179&r2=220180&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java
Thu Jul 21 13:29:45 2005
@@ -146,6 +146,15 @@
     }
 
     // -------------------------------------------- OutputStream Methods
+    /**
+     * 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
+     */
     public void write(int b) throws IOException {
         cache[cachePosition] = (byte) b;
         cachePosition++;



---------------------------------------------------------------------
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