public final class HttpUploadTaskParameters extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<HttpUploadTaskParameters> |
CREATOR |
String |
customUserAgent |
String |
method |
boolean |
usesFixedLengthStreamingMode |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
HttpUploadTaskParameters() |
Modifier and Type | Method and Description |
---|---|
HttpUploadTaskParameters |
addHeader(String name,
String value) |
HttpUploadTaskParameters |
addParameter(String name,
String value) |
int |
describeContents() |
ArrayList<NameValue> |
getRequestHeaders() |
ArrayList<NameValue> |
getRequestParameters() |
boolean |
isCustomUserAgentDefined() |
void |
writeToParcel(Parcel parcel,
int arg1) |
public String customUserAgent
public String method
public boolean usesFixedLengthStreamingMode
public static final Parcelable.Creator<HttpUploadTaskParameters> CREATOR
public void writeToParcel(Parcel parcel, int arg1)
writeToParcel
in interface Parcelable
public int describeContents()
describeContents
in interface Parcelable
public boolean isCustomUserAgentDefined()
public HttpUploadTaskParameters addHeader(String name, String value)
public HttpUploadTaskParameters addParameter(String name, String value)