Interface ProgressAsyncHandler<T>

    • Method Detail

      • onContentWriteProgress

        AsyncHandler.State onContentWriteProgress​(long amount,
                                                  long current,
                                                  long total)
        Invoked when the I/O operation associated with the Request body wasn't fully written in a single I/O write operation. This method is never invoked if the write operation complete in a sinfle I/O write.
        Parameters:
        amount - The amount of bytes to transfer.
        current - The amount of bytes transferred
        total - The total number of bytes transferred
        Returns:
        a AsyncHandler.State telling to CONTINUE or ABORT the current processing.