-
public interface MultipartStreamReader.ChunkListener
-
-
Method Summary
Modifier and Type Method Description abstract void
onChunkComplete(Map<String, String> headers, Buffer body, boolean isLastChunk)
Invoked when a chunk of a multipart response is fully downloaded. abstract void
onChunkProgress(Map<String, String> headers, long loaded, long total)
Invoked as bytes of the current chunk are read. -
-
Method Detail
-
onChunkComplete
abstract void onChunkComplete(Map<String, String> headers, Buffer body, boolean isLastChunk)
Invoked when a chunk of a multipart response is fully downloaded.
-
onChunkProgress
abstract void onChunkProgress(Map<String, String> headers, long loaded, long total)
Invoked as bytes of the current chunk are read.
-
-
-
-