public class PostResult
extends java.lang.Object
Constructor and Description |
---|
PostResult() |
PostResult(int code,
java.lang.Exception e) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException() |
java.util.Map<java.lang.String,java.lang.String> |
getResponse()
An edge may return a response with properties, such as for
device configuration.
|
int |
getResponseCode() |
boolean |
isSuccess() |
void |
setException(java.lang.Exception e) |
void |
setReponseCode(int code) |
void |
setResponse(java.util.Map<java.lang.String,java.lang.String> resp) |
public PostResult()
public PostResult(int code, java.lang.Exception e)
public void setReponseCode(int code)
public int getResponseCode()
public boolean isSuccess()
public void setException(java.lang.Exception e)
public java.lang.Exception getException()
public void setResponse(java.util.Map<java.lang.String,java.lang.String> resp)
public java.util.Map<java.lang.String,java.lang.String> getResponse()