diff --git a/okhttp/src/main/java/okhttp3/Response.java b/okhttp/src/main/java/okhttp3/Response.java index 7a2d717e22a6..7a3d80264b91 100644 --- a/okhttp/src/main/java/okhttp3/Response.java +++ b/okhttp/src/main/java/okhttp3/Response.java @@ -157,6 +157,9 @@ public ResponseBody peekBody(long byteCount) throws IOException { return ResponseBody.create(body.contentType(), result.size(), result); } + /** + * Never {@code null}, must be closed after consumption, can be consumed only once. + */ public ResponseBody body() { return body; }