edu.internet2.middleware.grouper.ui
Class CaptureServletOutputStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
edu.internet2.middleware.grouper.ui.CaptureServletOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class CaptureServletOutputStream
- extends ServletOutputStream
Used in conjunction with a HttpServletResponseWrapper so that data can be
captured
- Version:
- $Id: CaptureServletOutputStream.java,v 1.4 2007-04-11 08:19:24 isgwb Exp $
- Author:
- Gary Brown.
Methods inherited from class javax.servlet.ServletOutputStream |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
CaptureServletOutputStream
public CaptureServletOutputStream()
- Constructor - sets up internal ByteArrayOutputStream for capturing data
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object