tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1478035 - /tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java
Date Wed, 01 May 2013 14:56:04 GMT
Author: markt
Date: Wed May  1 14:56:04 2013
New Revision: 1478035

URL: http://svn.apache.org/r1478035
Log:
Better comment

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java?rev=1478035&r1=1478034&r2=1478035&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java Wed May  1 14:56:04
2013
@@ -573,6 +573,15 @@ public abstract class AbstractOutputBuff
 
     protected abstract boolean hasDataToWrite();
     protected abstract void setBlocking(boolean blocking);
+
+    /**
+     * Writes any remaining buffered data.
+     *
+     * @param block     Should this method block until the buffer is empty
+     * @return  <code>true</code> if data remains in the buffer (which can only
+     *          happen in non-blocking mode else <code>false</code>.
+     * @throws IOException
+     */
     protected abstract boolean flushBuffer(boolean block) throws IOException;
 
 



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


Mime
View raw message