Constructor and Description |
---|
PlaintextPayload(String str)
Constructs a new plain-text payload.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Returns the plain-text value.
|
Object |
getValue()
Returns the value of the payload.
|
void |
write(HttpServletRequest request,
HttpServletResponse response,
int status,
String contenttype)
Writes the payload.
|
public PlaintextPayload(String str)
public String getText()
public Object getValue()
Payload
public void write(HttpServletRequest request, HttpServletResponse response, int status, String contenttype) throws IOException
write
in interface Payload
IOException
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.