public class ByteArrayServletOutputStream extends ServletOutputStream
SsiIncludeand ByteArrayOutputStream| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
buf
Our buffer to hold the stream.
|
| Constructor and Description |
|---|
ByteArrayServletOutputStream()
Construct a new ServletOutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
toByteArray() |
void |
write(int b)
Write to our buffer.
|
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnclose, flush, write, writeprotected ByteArrayOutputStream buf
public ByteArrayServletOutputStream()
public byte[] toByteArray()
public void write(int b)
write in class OutputStreamb - The parameter to writeCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.