@Immutable @ThreadSafe @LevelUpApi(contract=INTERNAL) public final class JSONArrayRequestBody extends StringRequestBody
JSONArray request body.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<JSONArrayRequestBody> |
CREATOR
Part of the
Parcelable contract. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
JSONArrayRequestBody(JSONArray array) |
JSONArrayRequestBody(Parcel parcel)
Parcelable constructor. |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
describeContents, equals, getContentLength, hashCode, toString, writeToOutputStream, writeToParcelpublic static final Parcelable.Creator<JSONArrayRequestBody> CREATOR
Parcelable contract.public JSONArrayRequestBody(JSONArray array)
array - the JSONArray to send.public JSONArrayRequestBody(Parcel parcel)
Parcelable constructor.parcel - the source parcelpublic String getContentType()