From f47afd7b98221e08acd41787402d403ad0ee5556 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Thu, 2 Dec 2021 14:05:51 -0800 Subject: [PATCH] HttpResponseHandler: Fill out truncated javadoc. (#12004) --- .../java/util/http/client/response/HttpResponseHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/druid/java/util/http/client/response/HttpResponseHandler.java b/core/src/main/java/org/apache/druid/java/util/http/client/response/HttpResponseHandler.java index 03e54e702e0..43bca7ace1d 100644 --- a/core/src/main/java/org/apache/druid/java/util/http/client/response/HttpResponseHandler.java +++ b/core/src/main/java/org/apache/druid/java/util/http/client/response/HttpResponseHandler.java @@ -90,7 +90,11 @@ public interface HttpResponseHandler /** * 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) */ long resume(long chunkNum);