| java.lang.Object | |
| ↳ | org.chromium.net.UploadDataSink |
Defines callbacks methods for UploadDataProvider. All methods may be called synchronously
or asynchronously, on any thread.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called by
UploadDataProvider when a read fails. | |||||||||||
Called by
UploadDataProvider when a read succeeds. | |||||||||||
Called by
UploadDataProvider when a rewind fails, or if rewinding uploads is not
supported. | |||||||||||
Called by
UploadDataProvider when a rewind succeeds. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
Called by UploadDataProvider when a read fails.
| Parameters | |
|---|---|
exception |
Exception: Exception passed on to the embedder.
|
Called by UploadDataProvider when a read succeeds.
| Parameters | |
|---|---|
finalChunk |
boolean: For chunked uploads, true if this is the final read. It must be
false for non-chunked uploads.
|
Called by UploadDataProvider when a rewind fails, or if rewinding uploads is not
supported.
| Parameters | |
|---|---|
exception |
Exception: Exception passed on to the embedder.
|