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, setWriteListenerpublic RhnMockServletOutputStream()
public void println(java.lang.String s)
throws java.io.IOException
println in class javax.servlet.ServletOutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic java.lang.String getContents()
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException