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.Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | OfflineRequestInfo.OfflineMetaData |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OfflineRequestInfo(String httpVerb, OfflineRequestInfo.OfflineMetaData entityID) | |||||||||||
OfflineRequestInfo(String httpVerb, String entityID, String clientAppVersion, String customProperties) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OfflineRequestInfo.OfflineMetaData |
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.