public class ApiResponse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte[] |
baResponse
do not use
|
int |
HttpCode
The HTTP code
|
java.lang.String |
HttpHeaders
The fields of the HTTP header as string
|
eve.data.PropertyList |
HttpHeadersList
The fields of the HTTP header as PropertyList
|
java.lang.String |
HttpResponse
The first line returned from the webservice
|
java.lang.String |
lastError
The last error or null when OK
|
Log |
log
The logged request and response information
|
eve.util.ByteArray |
rawResponse
The response body as ByteArray
|
java.lang.String |
response
The response body as String
|
XMLElement |
xResponse
The response as XMLElement
|
Constructor and Description |
---|
ApiResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
saveLogs()
Writes the log files for request and response
Calls log.save()
|
public java.lang.String lastError
public int HttpCode
public java.lang.String HttpHeaders
public eve.data.PropertyList HttpHeadersList
public eve.util.ByteArray rawResponse
public java.lang.String response
public java.lang.String HttpResponse
public XMLElement xResponse
public byte[] baResponse
public Log log