public class RhnMockServletOutputStream extends LegacyServletOutputStream
Constructor and Description |
---|
RhnMockServletOutputStream()
Default no arg constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContents()
Get what has been written to the outputstream
|
void |
println(java.lang.String s) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
isReady, setWriteListener
public RhnMockServletOutputStream()
public void println(java.lang.String s) throws java.io.IOException
println
in class javax.servlet.ServletOutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public java.lang.String getContents()
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException