public class GetServerVersionRequest
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<GetServerVersionRequest> |
CREATOR |
static java.lang.String |
SERVER_CONFIG_MATCHER |
static java.lang.String |
SERVER_VERSION_MATCHER |
Modifier | Constructor and Description |
---|---|
protected |
GetServerVersionRequest(android.os.Parcel in) |
|
GetServerVersionRequest(java.lang.String baseUrl,
java.lang.String serverConnectString,
boolean getConfig,
int notificationId) |
|
GetServerVersionRequest(java.lang.String baseUrl,
java.lang.String serverConnectString,
boolean getConfig,
java.lang.String matcher,
int notificationId) |
Modifier and Type | Method and Description |
---|---|
Request |
createServerVersion() |
int |
describeContents() |
static GetServerVersionRequest |
fromJSON(org.json.JSONObject json) |
java.lang.String |
getBaseUrl() |
java.lang.String |
getMatcher() |
int |
getNotificationId() |
java.lang.String |
getServerConnectString() |
boolean |
isGetConfig() |
boolean |
isValid() |
org.json.JSONObject |
toJSON() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final java.lang.String SERVER_VERSION_MATCHER
public static final java.lang.String SERVER_CONFIG_MATCHER
public static final android.os.Parcelable.Creator<GetServerVersionRequest> CREATOR
public GetServerVersionRequest(java.lang.String baseUrl, java.lang.String serverConnectString, boolean getConfig, int notificationId)
public GetServerVersionRequest(java.lang.String baseUrl, java.lang.String serverConnectString, boolean getConfig, java.lang.String matcher, int notificationId)
protected GetServerVersionRequest(android.os.Parcel in)
public boolean isValid()
public java.lang.String getBaseUrl()
public java.lang.String getServerConnectString()
public java.lang.String getMatcher()
public boolean isGetConfig()
public int getNotificationId()
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 GetServerVersionRequest fromJSON(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
public Request createServerVersion() throws org.json.JSONException
org.json.JSONException