public class ByteArrayServletOutputStream extends ServletOutputStream
SsiInclude
and 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, println
close, flush, write, write
protected ByteArrayOutputStream buf
public ByteArrayServletOutputStream()
public byte[] toByteArray()
public void write(int b)
write
in class OutputStream
b
- The parameter to writeCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.