mmRestAPI
Class MMGwtRestAPI
java.lang.Object
mmRestAPI.MMAbstractRestAPI
mmRestAPI.MMGwtRestAPI
public class MMGwtRestAPI
- extends MMAbstractRestAPI
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMGwtRestAPI
public MMGwtRestAPI()
addFindCondition
public void addFindCondition(MMAbstractRestAPI.FindCondition condition,
java.lang.String key,
java.lang.String value_)
- Description copied from class:
MMAbstractRestAPI
- Add a specific query condition for a Find (i.e. query) REST API request.
Be sure to use the correct function signature.
- Specified by:
addFindCondition
in class MMAbstractRestAPI
addFindCondition
public void addFindCondition(MMAbstractRestAPI.FindCondition condition,
java.lang.String key,
int value_)
- Specified by:
addFindCondition
in class MMAbstractRestAPI
addFindCondition
public void addFindCondition(MMAbstractRestAPI.FindCondition condition,
java.lang.String key,
java.lang.Long value_)
- Specified by:
addFindCondition
in class MMAbstractRestAPI
sendRequestAsync
public void sendRequestAsync(java.lang.String dataJsonString,
MMRestApiCallback callback)
- Description copied from class:
MMAbstractRestAPI
- Send the prepared request asynchronously to the server.
- Specified by:
sendRequestAsync
in class MMAbstractRestAPI
- Parameters:
dataJsonString
- the data to be sent in the request; in format of JSON stringcallback
- the callback to get the return results from the server
newInstance
public MMAbstractRestAPI newInstance()
- Description copied from class:
MMAbstractRestAPI
- Create a new instance of a REST API call; each time to make a request, you should get a new instance using this funciton.
- Specified by:
newInstance
in class MMAbstractRestAPI
- Returns:
- a new instance of the request instance