public class BaseDataSiftResult extends java.lang.Object implements DataSiftResult
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
error |
protected Response |
response |
| Constructor and Description |
|---|
BaseDataSiftResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(java.lang.Throwable e) |
java.lang.Throwable |
failureCause() |
java.lang.String |
getError() |
Response |
getResponse() |
boolean |
isAuthorizationSuccessful() |
boolean |
isSuccessful() |
int |
rateLimit() |
int |
rateLimitCost() |
int |
rateLimitRemaining() |
void |
setResponse(Response response) |
void |
successful() |
java.lang.String |
toString() |
protected java.lang.String error
protected Response response
public boolean isSuccessful()
isSuccessful in interface DataSiftResultpublic Response getResponse()
getResponse in interface DataSiftResultpublic void setResponse(Response response)
setResponse in interface DataSiftResultpublic java.lang.Throwable failureCause()
failureCause in interface DataSiftResultpublic boolean isAuthorizationSuccessful()
isAuthorizationSuccessful in interface DataSiftResultpublic int rateLimit()
rateLimit in interface DataSiftResultpublic int rateLimitRemaining()
rateLimitRemaining in interface DataSiftResultpublic int rateLimitCost()
rateLimitCost in interface DataSiftResultpublic java.lang.String getError()
getError in interface DataSiftResultpublic java.lang.String toString()
toString in class java.lang.Objectpublic void failed(java.lang.Throwable e)
failed in interface DataSiftResultpublic void successful()
successful in interface DataSiftResultCopyright © 2018. All Rights Reserved.