com.lowagie.servlets
Class BufferedResponse.ByteArrayServletStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
com.lowagie.servlets.BufferedResponse.ByteArrayServletStream
- Enclosing class:
- BufferedResponse
- private static class BufferedResponse.ByteArrayServletStream
- extends javax.servlet.ServletOutputStream
Implements a ServletOutputStream that writes to a memory buffer.
Fields inherited from class javax.servlet.ServletOutputStream |
|
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
private ByteArrayOutputStream data
BufferedResponse.ByteArrayServletStream
public BufferedResponse.ByteArrayServletStream()
write
public void write(byte[] b,
int o,
int l)
throws IOException
- Throws:
IOException
write
public void write(int i)
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
toByteArray
public byte[] toByteArray()
throws IOException
- Throws:
IOException