return new MockResponseWriter(writer, characterEncoding);
}
public ResponseStream createResponseStream(OutputStream out) {
final OutputStream os = out;
return new ResponseStream() {
public void close() throws IOException {
os.close();
}
public void flush() throws IOException {