public class Result extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Result(boolean success,
int statusCode,
String message) |
protected |
Result(String responseText) |
| Modifier and Type | Method and Description |
|---|---|
protected static Result |
createExceptionResult(Email email,
Throwable throwable) |
String |
getMessage() |
int |
getStatusCode() |
boolean |
isSuccess() |
protected void |
parserResponseText(String responseJson) |
String |
toString() |
protected Result(String responseText)
protected Result(boolean success,
int statusCode,
String message)
protected static Result createExceptionResult(Email email, Throwable throwable)
protected void parserResponseText(String responseJson)
public int getStatusCode()
public boolean isSuccess()
public String getMessage()
Copyright © 2016 JSTACK. All rights reserved.