public abstract class BodyTypeAdapter extends RestDataTypeAdapter
| Constructor and Description |
|---|
BodyTypeAdapter()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkNoBody(Object value)
Checks if body of a cell is "no-body" meaning empty in the context of a
REST call.
|
String |
getCharset() |
protected void |
setCharset(String charset) |
String |
toString(Object obj)
This renders the actual body - expected as a String containing XML - as
HTML to be displayed in the test page.
|
abstract String |
toXmlString(String content) |
addError, fromString, get, getContext, getErrors, set, setContext, toStringprotected void setCharset(String charset)
public String getCharset()
protected boolean checkNoBody(Object value)
value - the cellpublic abstract String toXmlString(String content)
content - the content of the body response to be XMLified.public String toString(Object obj)
toString in interface fitnesse.slim.ConvertertoString in class fit.TypeAdapterobj - the List<String> actual body, or an empty/null body
rendered as HTMLCopyright © 2017 smartrics. All rights reserved.