| java.lang.Object | |
| ↳ | com.google.gdata.client.uploader.ResumableHttpFileUploader.ResponseMessage |
The response message returned by the upload task when it has finished uploading the last chunk. The response message instance will hold the expected Content-Length header value and the InputStream returned by the HTTP connection. Note that the input stream might not be ready yet to read from when the upload task is finished. The connection might still be receiving the message body.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| contentLength | |||||||||||
| inputStream | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the value of the Content-Length header of the HTTP response.
| |||||||||||
Returns the last request's connection's input stream to read the response
body from.
| |||||||||||
Attempts to receive the entire outstanding response message body and
returns it as a string.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
| contentLength | |
|---|---|
| inputStream |
Returns the value of the Content-Length header of the HTTP response.
Returns the last request's connection's input stream to read the response body from.
Attempts to receive the entire outstanding response message body and returns it as a string.
| timeoutMs | The maximum time to wait for the message to be received. |
|---|
| InterruptedException | if the task gets interrupted. |
|---|---|
| ExecutionException | if a IOException is thrown while reading from the input stream. |
| TimeoutException | if the entire message couldn't be received in the allotted timeout. |