public abstract class ResourceTransaction extends Transaction
Constructor and Description |
---|
ResourceTransaction(Resources resource,
java.lang.String method) |
Modifier and Type | Method and Description |
---|---|
JSONArray |
getResult()
If the transaction returns resource objects, these are
retrieved as an array of JSON objects.
|
execute, getError, getException, getResponseCode
public ResourceTransaction(Resources resource, java.lang.String method)
resource
- API resource targeted by this transactionmethod
- HTTP method (GET/PUT/POST/DELETE)public JSONArray getResult()
Transaction
getResult
in class Transaction