com.lowagie.servlets
Class BufferedResponse.ByteArrayServletStream
java.lang.Object
ServletOutputStream
com.lowagie.servlets.BufferedResponse.ByteArrayServletStream
- Enclosing class:
- BufferedResponse
- private static class BufferedResponse.ByteArrayServletStream
- extends ServletOutputStream
Implements a ServletOutputStream that writes to a memory buffer.
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