Polish Javadoc

This commit is contained in:
Sam Brannen
2024-02-23 11:07:26 +01:00
parent 3c00637c88
commit 233b59f144

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -63,7 +63,7 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
/**
* Return a {@link Publisher} that will produce for the request body.
* Return a {@link Publisher} that will produce the request body.
* <p>This is mutually exclusive with {@link #getBodyValue()}.
* Only one of the two or neither is set.
*/
@@ -73,7 +73,7 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
}
/**
* Return the element type for a {@linkplain #getBodyPublisher() Publisher body}.
* Return the element type for a {@linkplain #getBodyPublisher() body publisher}.
*/
@Nullable
public ParameterizedTypeReference<?> getBodyPublisherElementType() {
@@ -81,7 +81,7 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
}
/**
* Return the request body as a Publisher.
* Return the request body as a {@link Publisher}.
* <p>This is mutually exclusive with {@link #getBodyValue()}.
* Only one of the two or neither is set.
*/
@@ -92,7 +92,7 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
}
/**
* Return the element type for a {@linkplain #getBodyPublisher() Publisher body}.
* Return the element type for a {@linkplain #getBodyPublisher() body publisher}.
*/
@SuppressWarnings("removal")
@Nullable
@@ -217,8 +217,9 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
/**
* {@inheritDoc}
* <p>This is mutually exclusive with, and resets any previously set
* {@linkplain #setBodyPublisher(Publisher, ParameterizedTypeReference)}.
* <p>This is mutually exclusive with and resets any previously set
* {@linkplain #setBodyPublisher(Publisher, ParameterizedTypeReference)
* body publisher}.
*/
@Override
public void setBodyValue(Object bodyValue) {
@@ -228,8 +229,8 @@ public final class ReactiveHttpRequestValues extends HttpRequestValues {
}
/**
* Set the request body as a Reactive Streams Publisher.
* <p>This is mutually exclusive with, and resets any previously set
* Set the request body as a Reactive Streams {@link Publisher}.
* <p>This is mutually exclusive with and resets any previously set
* {@linkplain #setBodyValue(Object) body value}.
*/
@SuppressWarnings("DataFlowIssue")