http-client-branch: review comments add missing links to pre-defined BodyHandlers http-client-branch
authordfuchs
Thu, 23 Nov 2017 10:21:19 +0000
branchhttp-client-branch
changeset 55860 dc4a39bc1517
parent 55859 4ca3e578b9c4
child 55861 0683f22cf2b9
http-client-branch: review comments add missing links to pre-defined BodyHandlers
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java	Wed Nov 22 21:29:20 2017 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java	Thu Nov 23 10:21:19 2017 +0000
@@ -263,11 +263,16 @@
      * <ul><li>{@link #asByteArray() }</li>
      * <li>{@link #asByteArrayConsumer(java.util.function.Consumer)
      * asByteArrayConsumer(Consumer)}</li>
+     * <li>{@link #asString(java.nio.charset.Charset) asString(Charset)}</li>
+     * <li>{@link #asFile(Path, OpenOption...)
+     * asFile(Path,OpenOption...)}</li>
      * <li>{@link #asFileDownload(java.nio.file.Path,OpenOption...)
      * asFileDownload(Path,OpenOption...)}</li>
+     * <li>{@link #asInputStream() asInputStream()}</li>
      * <li>{@link #discard(Object) }</li>
-     * <li>{@link #asString(java.nio.charset.Charset)
-     * asString(Charset)}</li></ul>
+     * <li>{@link #buffering(BodyHandler, int)
+     * buffering(BodyHandler,int)}</li>
+     * </ul>
      *
      * <p> These implementations return the equivalent {@link BodySubscriber}.
      * Alternatively, the handler can be used to examine the status code