public class MocoServerConfigWriter extends Object implements Closeable
RequestTestDef.| Constructor and Description |
|---|
MocoServerConfigWriter()
Creates a new MocoServerConfigWriter object that writes to standard output.
|
MocoServerConfigWriter(OutputStream stream)
Creates a new MocoServerConfigWriter object that writes to the given stream.
|
MocoServerConfigWriter(Writer writer)
Creates a new MocoServerConfigWriter object that writes to the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the writer.
|
void |
flush()
Flushes the writer.
|
protected Writer |
getWriter()
Returns the output stream for this writer.
|
protected void |
setWriter(Writer writer)
Changes the output stream for this writer.
|
void |
write(RequestTestDef requestCases)
Writes the given system test definition the form of a JSON document.
|
public MocoServerConfigWriter()
public MocoServerConfigWriter(OutputStream stream)
public MocoServerConfigWriter(Writer writer)
public void write(RequestTestDef requestCases)
public void flush()
public void close()
close in interface Closeableclose in interface AutoCloseableprotected void setWriter(Writer writer)
protected Writer getWriter()
Copyright © 2022 The Cornutum Project. All rights reserved.