org.apache.catalina.ssi
public class ByteArrayServletOutputStream extends ServletOutputStream
SsiInclude
Version: $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
See Also: ServletOutputStream and ByteArrayOutputStream
Field Summary | |
---|---|
protected ByteArrayOutputStream | buf
Our buffer to hold the stream. |
Constructor Summary | |
---|---|
ByteArrayServletOutputStream()
Construct a new ServletOutputStream. |
Method Summary | |
---|---|
byte[] | toByteArray() |
void | write(int b)
Write to our buffer.
|
Returns: the byte array.
Parameters: b The parameter to write