| java.lang.Object |
| ↳ |
com.google.gdata.client.uploader.ResumableHttpFileUploader.Builder |
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
ExecutorService
executor
private
long
progressIntervalMillis
private
UrlConnectionFactory
urlConnectionFactory
Public Constructors
public
ResumableHttpFileUploader.Builder
()
Public Methods
Constructs a ResumableHttpFileUploader instance from this builder.
Returns
- a new ResumableHttpFileUploader according to the builder
parameters
Parameters
| backoffPolicy
| To determine how long to wait until retrying HTTP
requests |
Parameters
| chunkSize
| Size of the chunks that will get uploaded by individual
HTTP requests |
Parameters
| executor
| Service to execute asynchronous upload tasks with |
Throws
| IOException
| if the file could not be read.
|
Parameters
| progressIntervalMillis
| Number of milliseconds between
progress listener notifications |
Parameters
| progressListener
| For receiving progress notifications |
Parameters
| requestMethod
| The http request type for upload. Use either
PUT request or POST request with x-http-method-override header set
to PUT. |
Parameters
| url
| Which locates the destination of the upload request |