public abstract class HttpUploadTask extends UploadTask implements HttpConnection.RequestBodyDelegate, BodyWriter.OnStreamWriteListener
Constructor and Description |
---|
HttpUploadTask() |
Modifier and Type | Method and Description |
---|---|
void |
onBytesWritten(int bytesWritten)
Called every time that a bunch of bytes were written to the body
|
boolean |
shouldContinueWriting()
Indicates if the writing of the stream into the body should continue.
|
cancel, run
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onBodyReady
public boolean shouldContinueWriting()
BodyWriter.OnStreamWriteListener
shouldContinueWriting
in interface BodyWriter.OnStreamWriteListener
public void onBytesWritten(int bytesWritten)
BodyWriter.OnStreamWriteListener
onBytesWritten
in interface BodyWriter.OnStreamWriteListener
bytesWritten
- number of written bytes