# HG changeset patch # User chegar # Date 1523896109 -3600 # Node ID 60781b7235d6432ee033d0dac7700e4fa557ef40 # Parent f2f496ec03c680ef45a43566b6e12073591c2586 http-client-branch: review comment - additional minor javadoc clean up diff -r f2f496ec03c6 -r 60781b7235d6 src/java.net.http/share/classes/java/net/http/HttpResponse.java --- a/src/java.net.http/share/classes/java/net/http/HttpResponse.java Mon Apr 16 17:25:08 2018 +0100 +++ b/src/java.net.http/share/classes/java/net/http/HttpResponse.java Mon Apr 16 17:28:29 2018 +0100 @@ -201,11 +201,10 @@ * BodySubscriber}. The {@code BodySubscriber} consumes the actual response * body bytes and, typically, converts them into a higher-level Java type. * - *

A {@code BodyHandler} is a function that takes a {@link ResponseInfo} - * object; and which returns a - * {@code BodySubscriber}. The {@code BodyHandler} is invoked when the - * response status code and headers are available, but before the response - * body bytes are received. + *

A {@code BodyHandler} is a function that takes a {@link ResponseInfo + * ResponseInfo} object; and which returns a {@code BodySubscriber}. The + * {@code BodyHandler} is invoked when the response status code and headers + * are available, but before the response body bytes are received. * *

The following example uses one of the {@linkplain BodyHandlers * predefined body handlers} that always process the response body in the