public class Restify<T extends ModelInterface>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Restify.MyGenericAsyncTask |
class |
Restify.MyQueryAsyncTask |
| Constructor and Description |
|---|
Restify(android.content.Context ctx,
java.lang.String url,
java.lang.Class<T> obj) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.Boolean bool,
RestifyGenericCallback restifyGenericCallback) |
void |
get(java.lang.Boolean bool,
RestifyGenericCallback restifyGenericCallback) |
void |
post(java.lang.Boolean bool,
org.json.JSONObject obj,
RestifyGenericCallback restifyGenericCallback) |
void |
put(java.lang.Boolean bool,
org.json.JSONObject obj,
RestifyGenericCallback restifyGenericCallback) |
void |
query(java.lang.Boolean bool,
RestifyQueryCallback restifyLambdaCallback) |
void |
sendCallback(org.json.JSONObject errorObj,
java.util.ArrayList<T> t) |
void |
sendCallback(org.json.JSONObject errorObj,
T t) |
public Restify(android.content.Context ctx,
java.lang.String url,
java.lang.Class<T> obj)
public void delete(java.lang.Boolean bool,
RestifyGenericCallback restifyGenericCallback)
public void put(java.lang.Boolean bool,
org.json.JSONObject obj,
RestifyGenericCallback restifyGenericCallback)
public void post(java.lang.Boolean bool,
org.json.JSONObject obj,
RestifyGenericCallback restifyGenericCallback)
public void get(java.lang.Boolean bool,
RestifyGenericCallback restifyGenericCallback)
public void query(java.lang.Boolean bool,
RestifyQueryCallback restifyLambdaCallback)
public void sendCallback(org.json.JSONObject errorObj,
T t)
public void sendCallback(org.json.JSONObject errorObj,
java.util.ArrayList<T> t)