public class RestResponse extends RestData
RestData.HeaderDEFAULT_ENCODING, LINE_SEPARATOR| Constructor and Description |
|---|
RestResponse() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getStatusCode() |
String |
getStatusText() |
RestResponse |
setStatusCode(Integer sCode) |
RestResponse |
setStatusText(String st) |
String |
toString()
A visually easy to read representation of this
RestData. |
addHeader, addHeaders, addHeaders, getBody, getCharset, getContentLength, getContentType, getHeader, getHeaders, getHeaderValue, getRawBody, getResource, getTransactionId, setBody, setRawBody, setResource, setTransactionIdpublic Integer getStatusCode()
public RestResponse setStatusCode(Integer sCode)
sCode - the status code for this responsepublic String getStatusText()
public RestResponse setStatusText(String st)
st - the status text for this responseCopyright © 2016 smartrics. All Rights Reserved.