@@ -383,7 +383,7 @@ private BodyHandlers() { }
383
383
* BodySubscribers#fromLineSubscriber(Subscriber, Function, Charset, String)
384
384
* BodySubscribers.fromLineSubscriber(subscriber, s -> null, charset, null)},
385
385
* with the given {@code subscriber}.
386
- * The {@link Charset charset} used to decode the response body bytes is
386
+ * The {@linkplain Charset charset} used to decode the response body bytes is
387
387
* obtained from the HTTP response headers as specified by {@link #ofString()},
388
388
* and lines are delimited in the manner of {@link BufferedReader#readLine()}.
389
389
*
@@ -429,7 +429,7 @@ private BodyHandlers() { }
429
429
* BodySubscribers#fromLineSubscriber(Subscriber, Function, Charset, String)
430
430
* BodySubscribers.fromLineSubscriber(subscriber, finisher, charset, lineSeparator)},
431
431
* with the given {@code subscriber}, {@code finisher} function, and line separator.
432
- * The {@link Charset charset} used to decode the response body bytes is
432
+ * The {@linkplain Charset charset} used to decode the response body bytes is
433
433
* obtained from the HTTP response headers as specified by {@link #ofString()}.
434
434
*
435
435
* <p> The given {@code finisher} function is applied after the given
@@ -619,7 +619,7 @@ public static BodyHandler<InputStream> ofInputStream() {
619
619
* Returns a {@code BodyHandler<Stream<String>>} that returns a
620
620
* {@link BodySubscriber BodySubscriber}{@code <Stream<String>>} obtained
621
621
* from {@link BodySubscribers#ofLines(Charset) BodySubscribers.ofLines(charset)}.
622
- * The {@link Charset charset} used to decode the response body bytes is
622
+ * The {@linkplain Charset charset} used to decode the response body bytes is
623
623
* obtained from the HTTP response headers as specified by {@link #ofString()},
624
624
* and lines are delimited in the manner of {@link BufferedReader#readLine()}.
625
625
*
@@ -715,7 +715,7 @@ public static BodyHandler<String> ofString() {
715
715
* To ensure that all resources associated with the
716
716
* corresponding exchange are properly released the caller must
717
717
* subscribe to the publisher and conform to the rules outlined in
718
- * {@linkplain BodySubscribers#ofPublisher()}
718
+ * {@link BodySubscribers#ofPublisher()}
719
719
*
720
720
* @return a {@linkplain HttpClient##streaming publishing} response body handler
721
721
*
@@ -896,7 +896,7 @@ public void applyPushPromise(
896
896
* BodySubscriber} should ensure to {@linkplain Flow.Subscription#request
897
897
* request} more data until one of {@link #onComplete() onComplete} or
898
898
* {@link #onError(Throwable) onError} are signalled, or {@link
899
- * Flow.Subscription#request cancel} its {@linkplain
899
+ * Flow.Subscription#cancel cancel} its {@linkplain
900
900
* #onSubscribe(Flow.Subscription) subscription} if unable or unwilling to
901
901
* do so. Calling {@code cancel} before exhausting the response body data
902
902
* may cause the underlying HTTP connection to be closed and prevent it
@@ -916,7 +916,7 @@ public interface BodySubscriber<T>
916
916
* Returns a {@code CompletionStage} which when completed will return
917
917
* the response body object. This method can be called at any time
918
918
* relative to the other {@link Flow.Subscriber} methods and is invoked
919
- * using the client's {@link HttpClient#executor() executor}.
919
+ * using the client's {@linkplain HttpClient#executor() executor}.
920
920
*
921
921
* @return a CompletionStage for the response body
922
922
*/
@@ -962,7 +962,7 @@ public interface BodySubscriber<T>
962
962
* the resources associated with the request and the client to be {@linkplain
963
963
* HttpClient##closing eventually reclaimed}.
964
964
* Some other implementations are {@linkplain Publisher publishers} which need to be
965
- * {@link BodySubscribers#ofPublisher() subscribed} in order for their associated
965
+ * {@linkplain BodySubscribers#ofPublisher() subscribed} in order for their associated
966
966
* resources to be released and for the associated request to {@linkplain
967
967
* HttpClient##closing run to completion}.
968
968
*
@@ -1159,7 +1159,7 @@ public static BodySubscriber<Path> ofFile(Path file) {
1159
1159
* Returns a {@code BodySubscriber} which provides the incoming body
1160
1160
* data to the provided Consumer of {@code Optional<byte[]>}. Each
1161
1161
* call to {@link Consumer#accept(java.lang.Object) Consumer.accept()}
1162
- * will contain a non empty {@code Optional}, except for the final
1162
+ * will contain a non- empty {@code Optional}, except for the final
1163
1163
* invocation after all body data has been read, when the {@code
1164
1164
* Optional} will be empty.
1165
1165
*
0 commit comments