public class CharResponseContent extends java.lang.Object implements ResponseContent
| Constructor and Description |
|---|
CharResponseContent(App app,
java.io.Reader reader) |
CharResponseContent(BRJS brjs,
java.util.List<java.io.Reader> readers) |
CharResponseContent(BRJS brjs,
java.io.Reader... readers) |
CharResponseContent(BRJS brjs,
java.io.Reader reader) |
CharResponseContent(BRJS brjs,
java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
The method closesthe corresponding property of the class e.g.
|
java.io.Reader |
getReader() |
void |
write(java.io.OutputStream outputStream)
The method writes the content of the corresponding property of the class e.g.
|
public CharResponseContent(BRJS brjs, java.io.Reader reader)
public CharResponseContent(App app, java.io.Reader reader)
public CharResponseContent(BRJS brjs, java.lang.String content)
public CharResponseContent(BRJS brjs, java.io.Reader... readers)
public CharResponseContent(BRJS brjs, java.util.List<java.io.Reader> readers)
public java.io.Reader getReader()
public void write(java.io.OutputStream outputStream)
throws java.io.IOException
ResponseContentwrite in interface ResponseContentoutputStream - an OutputStream object that will contain the newly added streamjava.io.IOException - if an error occurs while writing the streampublic void close()
ResponseContentclose in interface java.lang.AutoCloseableclose in interface ResponseContent