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:29:49 UTC
svn commit: r220180 -
/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java
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