hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r232346 - /jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/ContentOutputBuffer.java
Date Fri, 12 Aug 2005 18:17:19 GMT
Author: olegk
Date: Fri Aug 12 11:17:14 2005
New Revision: 232346

URL: http://svn.apache.org/viewcvs?rev=232346&view=rev
Log:
Added #flush() method

Modified:
    jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/ContentOutputBuffer.java

Modified: jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/ContentOutputBuffer.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/ContentOutputBuffer.java?rev=232346&r1=232345&r2=232346&view=diff
==============================================================================
--- jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/ContentOutputBuffer.java
(original)
+++ jakarta/httpclient/trunk/coyote-httpconnector/src/java/org/apache/http/coyote/impl/ContentOutputBuffer.java
Fri Aug 12 11:17:14 2005
@@ -114,6 +114,12 @@
         this.outstream.write(buffer);
         return buffer.length;
     }
+
+    public void flush() throws IOException {
+        if (this.outstream != null) {
+            this.outstream.flush();
+        }
+    }
     
     public void close() throws IOException {
         if (this.outstream != null) {



Mime
View raw message