public class NanoStreamResponse extends NanoResponse
Modifier and Type | Field and Description |
---|---|
StreamWriter |
streamWriter |
data, header, mimeType, status
Constructor and Description |
---|
NanoStreamResponse(java.lang.String status,
java.lang.String mimeType,
StreamWriter streamWriter) |
Modifier and Type | Method and Description |
---|---|
void |
writeTo(java.io.OutputStream os) |
addHeader
public StreamWriter streamWriter
public NanoStreamResponse(java.lang.String status, java.lang.String mimeType, StreamWriter streamWriter)
public void writeTo(java.io.OutputStream os)
writeTo
in class NanoResponse