com.mockobjects.servlet
public class MockBodyContent extends BodyContent implements Verifiable
Constructor and Description |
---|
MockBodyContent() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
clearBody() |
void |
clearBuffer() |
void |
close() |
boolean |
equals(java.lang.Object obj) |
void |
flush() |
int |
getBufferSize() |
JspWriter |
getEnclosingWriter() |
java.io.Reader |
getReader() |
int |
getRemaining() |
java.lang.String |
getString() |
boolean |
isAutoFlush() |
void |
newLine() |
void |
print(boolean b) |
void |
print(char c) |
void |
print(char[] chars) |
void |
print(double v) |
void |
print(float v) |
void |
print(int i) |
void |
print(long l) |
void |
print(java.lang.Object o) |
void |
print(java.lang.String s) |
void |
println() |
void |
println(boolean b) |
void |
println(char c) |
void |
println(char[] chars) |
void |
println(double v) |
void |
println(float v) |
void |
println(int i) |
void |
println(long l) |
void |
println(java.lang.Object o) |
void |
println(java.lang.String s) |
void |
setExpectedWriteOut(java.io.Writer aWriter) |
void |
setupGetEnclosingWriter(JspWriter aJspWriter) |
void |
verify()
Throw an AssertionFailedException if any expectations have not been met.
|
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(java.lang.String str) |
void |
write(java.lang.String str,
int off,
int len) |
void |
writeOut(java.io.Writer aWriter) |
public int getBufferSize()
public void write(int c) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public boolean isAutoFlush()
public void write(char[] cbuf) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object obj)
public void clearBody()
public void write(java.lang.String str) throws java.io.IOException
java.io.IOException
public void setupGetEnclosingWriter(JspWriter aJspWriter)
public JspWriter getEnclosingWriter()
public java.io.Reader getReader()
public void newLine() throws java.io.IOException
java.io.IOException
public void write(char[] cbuf, int off, int len) throws java.io.IOException
java.io.IOException
public void print(boolean b) throws java.io.IOException
java.io.IOException
public void setExpectedWriteOut(java.io.Writer aWriter)
public void writeOut(java.io.Writer aWriter) throws java.io.IOException
java.io.IOException
public void print(char c) throws java.io.IOException
java.io.IOException
public void print(int i) throws java.io.IOException
java.io.IOException
public void print(long l) throws java.io.IOException
java.io.IOException
public void print(float v) throws java.io.IOException
java.io.IOException
public void print(double v) throws java.io.IOException
java.io.IOException
public void print(char[] chars) throws java.io.IOException
java.io.IOException
public void print(java.lang.String s) throws java.io.IOException
java.io.IOException
public void print(java.lang.Object o) throws java.io.IOException
java.io.IOException
public void println() throws java.io.IOException
java.io.IOException
public void println(boolean b) throws java.io.IOException
java.io.IOException
public void println(char c) throws java.io.IOException
java.io.IOException
public void println(int i) throws java.io.IOException
java.io.IOException
public void println(long l) throws java.io.IOException
java.io.IOException
public void println(float v) throws java.io.IOException
java.io.IOException
public void println(double v) throws java.io.IOException
java.io.IOException
public void println(char[] chars) throws java.io.IOException
java.io.IOException
public void println(java.lang.String s) throws java.io.IOException
java.io.IOException
public void println(java.lang.Object o) throws java.io.IOException
java.io.IOException
public void clear() throws java.io.IOException
java.io.IOException
public void clearBuffer() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public int getRemaining()
public void write(java.lang.String str, int off, int len) throws java.io.IOException
java.io.IOException
public java.lang.String getString()
public void verify()
Verifiable
verify
in interface Verifiable
Copyright © 2002 Mock Objects. All Rights Reserved.