public class AsyncRequest<T>
extends AsyncClientRequest
This implementation of an AsyncClientRequest is used to wrap the core app data API. It provides the ability to execute a given method with a given arguments using reflection.
Constructor and Description |
---|
AsyncRequest(java.lang.Object scope,
java.lang.reflect.Method mMethod,
com.kinvey.java.core.KinveyClientCallback<T> callback,
java.lang.Object args)
This implementation of an AsyncClientRequest is used to wrap the core app data API.
It provides the ability to execute a given method with a given arguments using reflection.
|
Modifier and Type | Method and Description |
---|---|
T |
executeAsync()
This method will be executed Asynchronously.
|
java.lang.Object[] |
getArgs() |
java.lang.reflect.Method |
getMMethod() |
java.lang.Object |
getScope() |
void |
setArgs(java.lang.Object[] p) |
void |
setMMethod(java.lang.reflect.Method p) |
void |
setScope(java.lang.Object p) |
execute, executeAsync, getCallback, getKinveyCallbackHandler, notify, run, setCallback, setKinveyCallbackHandler
public AsyncRequest(java.lang.Object scope, java.lang.reflect.Method mMethod, com.kinvey.java.core.KinveyClientCallback<T> callback, java.lang.Object args)
This implementation of an AsyncClientRequest is used to wrap the core app data API. It provides the ability to execute a given method with a given arguments using reflection.
public T executeAsync()
This method will be executed Asynchronously.
IOException
- if any.public java.lang.Object getScope()
public void setScope(java.lang.Object p)
public java.lang.reflect.Method getMMethod()
public void setMMethod(java.lang.reflect.Method p)
public java.lang.Object[] getArgs()
public void setArgs(java.lang.Object[] p)