costin 02/04/09 11:15:21
Modified: coyote/src/java/org/apache/coyote InputBuffer.java
OutputBuffer.java
Log:
Added a second parameter allowing IB and OB to be implemented stateless
( or statefull, depending on the rest of the code )
I'll add the extra param to the classes implementing it in the next commits.
( with Remy's blessing :-)
Revision Changes Path
1.6 +1 -1
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/InputBuffer.java
Index: InputBuffer.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/InputBuffer.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- InputBuffer.java 9 Apr 2002 17:57:13 -0000 1.5
+++ InputBuffer.java 9 Apr 2002 18:15:21 -0000 1.6
@@ -77,7 +77,7 @@
buffer and return a pointer to it in ByteChunk ( i.e. the param will
have chunk.getBytes()==null before call, and the result after the call ).
*/
- public int doRead(ByteChunk chunk)
+ public int doRead(ByteChunk chunk, Request request)
throws IOException;
1.6 +1 -1
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/OutputBuffer.java
Index: OutputBuffer.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/OutputBuffer.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- OutputBuffer.java 8 Apr 2002 23:46:32 -0000 1.5
+++ OutputBuffer.java 9 Apr 2002 18:15:21 -0000 1.6
@@ -72,7 +72,7 @@
public interface OutputBuffer {
- public int doWrite(ByteChunk chunk)
+ public int doWrite(ByteChunk chunk, Response response)
throws IOException;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>