org.apache.catalina.ssi
Class ByteArrayServletOutputStream
ServletOutputStreamorg.apache.catalina.ssi.ByteArrayServletOutputStream
public class ByteArrayServletOutputStream
extends ServletOutputStream
Class that extends ServletOuputStream, used as a wrapper from within
SsiInclude
Version:
- Bip Thelin
and ByteArrayOutputStream
protected ByteArrayOutputStream | _buf- Our buffer to hold the stream
|
byte[] | toByteArray()- Write our stream to the
OutputStream provided.
|
void | write(int b)- Write to our buffer
|
_buf
protected ByteArrayOutputStream _buf
Our buffer to hold the stream
ByteArrayServletOutputStream
public ByteArrayServletOutputStream()
Construct a new ServletOutputStream
toByteArray
public byte[] toByteArray()
Write our stream to the OutputStream provided.
write
public void write(int b)
Write to our buffer
b - The parameter to write
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.