public static interface BodyWriter.OnStreamWriteListener
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.
|
boolean shouldContinueWriting()
void onBytesWritten(int bytesWritten)
bytesWritten
- number of written bytes