public class MockServletOutputStream
extends javax.servlet.ServletOutputStream
| Constructor and Description |
|---|
MockServletOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Returns the array of bytes that have been written to the output stream.
|
java.lang.String |
getString()
Returns, as a character string, the output that was written to the output stream.
|
void |
write(int b)
Pass through method calls ByteArrayOutputStream.write(int b).
|
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic byte[] getBytes()
public java.lang.String getString()
? Copyright 2005-2006, Stripes Development Team.