|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream javax.servlet.ServletOutputStream org.apache.catalina.ssi.ByteArrayServletOutputStream
public class ByteArrayServletOutputStream
Class that extends ServletOuputStream, used as a wrapper from within
SsiInclude
and ByteArrayOutputStream
Field Summary | |
---|---|
protected java.io.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. |
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.io.OutputStream |
---|
close, flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.ByteArrayOutputStream buf
Constructor Detail |
---|
public ByteArrayServletOutputStream()
Method Detail |
---|
public byte[] toByteArray()
public void write(int b)
write
in class java.io.OutputStream
b
- The parameter to write
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |