public class

OfflineRequestInfo

extends Object
implements Serializable
java.lang.Object
   ↳ com.kinvey.android.offline.OfflineRequestInfo

Class Overview

This public static class maintains information about the client request.

This 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.

Summary

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
From class java.lang.Object

Public Constructors

public OfflineRequestInfo (String httpVerb, String entityID)

Public Methods

public String getEntityID ()

Get the entity used by this request.

Returns
  • the _id of the entity affected by this request

public String getHttpVerb ()

Get the HTTP VERB used by this request.

Returns
  • the HTTP Verb used by this request