mondrian.tui
Class MockHttpServletResponse.MockServletOutputStream
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
mondrian.tui.MockHttpServletResponse.MockServletOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Enclosing class:
- MockHttpServletResponse
static class MockHttpServletResponse.MockServletOutputStream
- extends ServletOutputStream
-
-
Methods inherited from class javax.servlet.ServletOutputStream |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockHttpServletResponse.MockServletOutputStream
public MockHttpServletResponse.MockServletOutputStream(int size)
MockHttpServletResponse.MockServletOutputStream
public MockHttpServletResponse.MockServletOutputStream(int size,
String encoding)
setEncoding
public void setEncoding(String encoding)
write
public void write(int value)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
getContent
public String getContent()
throws IOException
- Throws:
IOException
getBinaryContent
public byte[] getBinaryContent()
throws IOException
- Throws:
IOException
clearContent
public void clearContent()