HttpResponseHandler: Fill out truncated javadoc. (#12004)

This commit is contained in:
Gian Merlino 2021-12-02 14:05:51 -08:00 committed by GitHub
parent 1f95a42bb8
commit f47afd7b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -90,7 +90,11 @@ public interface HttpResponseHandler<IntermediateType, FinalType>
/** /**
* Call this to resume reading after you have suspended it. * Call this to resume reading after you have suspended it.
* *
* @param chunkNum chunk number corresponding to the handleChunk() or handleResponse() call from which you * This method will do nothing if reading is not currently suspended.
*
* @param chunkNum chunk number corresponding to the handleChunk() or handleResponse() call from which you returned
* a ClientResponse where {@link ClientResponse#isContinueReading()} was true.
*
* @return time that backpressure was applied (channel was closed for reads) * @return time that backpressure was applied (channel was closed for reads)
*/ */
long resume(long chunkNum); long resume(long chunkNum);