Interface HttpResponseHandler.TrafficCop

    • Method Detail

      • resume

        long resume​(long chunkNum)
        Call this to resume reading after you have suspended it. This method will do nothing if reading is not currently suspended.
        Parameters:
        chunkNum - chunk number corresponding to the handleChunk() or handleResponse() call from which you returned a ClientResponse where ClientResponse.isContinueReading() was true.
        Returns:
        time that backpressure was applied (channel was closed for reads)