public class FileDownloadHeader extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<FileDownloadHeader> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier | Constructor and Description |
|---|---|
|
FileDownloadHeader() |
protected |
FileDownloadHeader(Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String line)
We have already handled etag, and will add 'If-Match' & 'Range' value if it works.
|
void |
add(String name,
String value)
We have already handled etag, and will add 'If-Match' & 'Range' value if it works.
|
int |
describeContents() |
HashMap<String,List<String>> |
getHeaders() |
void |
removeAll(String name)
Remove all files with the name.
|
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<FileDownloadHeader> CREATOR
public FileDownloadHeader()
protected FileDownloadHeader(Parcel in)
public void add(String name, String value)
public void add(String line)
public void removeAll(String name)
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelable