public class SimpleHttpRequest
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
SimpleHttpRequest.OpType |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SimpleHttpRequest> |
CREATOR |
Modifier | Constructor and Description |
---|---|
protected |
SimpleHttpRequest(android.os.Parcel in) |
|
SimpleHttpRequest(java.lang.String baseUrl,
java.lang.String path,
SimpleHttpRequest.OpType type,
java.lang.String matcher,
int matcherCode,
int notificationId,
java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static SimpleHttpRequest |
fromJSON(org.json.JSONObject json) |
java.lang.String |
getBaseUrl() |
java.lang.String |
getMatcher() |
int |
getMatcherCode() |
int |
getNotificationId() |
java.lang.String |
getPath() |
java.lang.String |
getTag() |
SimpleHttpRequest.OpType |
getType() |
boolean |
isValid() |
org.json.JSONObject |
toJSON() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<SimpleHttpRequest> CREATOR
public SimpleHttpRequest(java.lang.String baseUrl, java.lang.String path, SimpleHttpRequest.OpType type, java.lang.String matcher, int matcherCode, int notificationId, java.lang.String tag)
protected SimpleHttpRequest(android.os.Parcel in)
public boolean isValid()
public java.lang.String getBaseUrl()
public java.lang.String getPath()
public SimpleHttpRequest.OpType getType()
public java.lang.String getMatcher()
public int getMatcherCode()
public int getNotificationId()
public java.lang.String getTag()
public java.lang.String toString()
toString
in class java.lang.Object
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public int describeContents()
describeContents
in interface android.os.Parcelable
public org.json.JSONObject toJSON() throws org.json.JSONException
org.json.JSONException
public static SimpleHttpRequest fromJSON(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException