public class ResumableGDataFileUploader extends ResumableHttpFileUploader
ResumableHttpFileUploader
.Modifier and Type | Class and Description |
---|---|
static class |
ResumableGDataFileUploader.Builder
Builder to construct a
ResumableGDataFileUploader . |
static class |
ResumableGDataFileUploader.RequestType
Types of resumable update request types.
|
ResumableHttpFileUploader.RequestMethod, ResumableHttpFileUploader.ResponseMessage, ResumableHttpFileUploader.UploadState
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESUMABLE_EDIT_MEDIA_REL |
DEFAULT_MAX_CHUNK_SIZE, DEFAULT_PROGRESS_INTERVAL_MS, METHOD_OVERRIDE
Modifier and Type | Method and Description |
---|---|
<E extends IEntry> |
getResponse(java.lang.Class<E> entryClass)
Returns the upload response as an instance of parsed entryClass.
|
addHeader, getData, getHttpRequestMethod, getNumBytesUploaded, getProgress, getResponse, getUploadState, isDone, isPaused, pause, resume, setHttpRequestMethod, start
public static final java.lang.String RESUMABLE_EDIT_MEDIA_REL
public <E extends IEntry> E getResponse(java.lang.Class<E> entryClass) throws java.io.IOException, ServiceException
entryClass
- the class that will be used to represent the resulting
entry.java.io.IOException
- error communicating with the GData Service.ServiceException
- insert request failed due to service error.