Package 

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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.