au.com.whitesquare.waf.filter
Class ByteCountingServletOutputStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
au.com.whitesquare.waf.filter.ByteCountingServletOutputStream
- public class ByteCountingServletOutputStream
- extends ServletOutputStream
Last Modified $Date: 2006/05/15 05:50:35 $
- Version:
- $Revision: 1.4 $
- Author:
- Steve Mactaggart
|
Method Summary |
void |
flush()
|
long |
getWrittenBytes()
Returns the numeber of bytes written out the output stream. |
void |
write(int b)
|
| Methods inherited from class javax.servlet.ServletOutputStream |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteCountingServletOutputStream
public ByteCountingServletOutputStream(ServletOutputStream passThrough)
write
public void write(int b)
throws IOException
- Throws:
IOException- See Also:
OutputStream.write(int)
flush
public void flush()
throws IOException
- Throws:
IOException- See Also:
OutputStream.flush()
getWrittenBytes
public long getWrittenBytes()
- Returns the numeber of bytes written out the output stream.
- Returns:
- the number of bytes written to the stream.
Copyright © 2004 Whitesquare Software. All Rights Reserved.