java.lang.Object | |
↳ | com.kinvey.android.offline.OfflineRequestInfo |
This class is an abstraction of a REST request.
An instance of this class stores the relationship between an Http Verb and and an associated entity's ID. myRequest.getHttpVerb() represents the HTTP verb as a String ("GET", "PUT", "DELETE", "POST"); myRequest.getEntityID() represents the id of the entity, which might be stored in the local store.Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OfflineRequestInfo(String httpVerb, String entityID) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getEntityID()
Get the entity used by this request.
| ||||||||||
String |
getHttpVerb()
Get the HTTP VERB used by this request.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the entity used by this request.
Get the HTTP VERB used by this request.