public class PlainText extends StreamView
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Gets the content type of the response to be streamed back to the
requestor.
|
byte[] |
getPayload()
Gets the content of the response to be streamed back to the requestor.
|
String |
toString() |
render
public PlainText(String payload)
public String getContentType()
StreamView
getContentType
in class StreamView
public byte[] getPayload()
StreamView
getPayload
in class StreamView
Copyright © 2011-2012 MojaveMVC.org