8254704: Add missing @since tag to BodyPublishers::concat

Reviewed-by: chegar
This commit is contained in:
Daniel Fuchs 2020-10-13 16:53:40 +00:00
parent 3fb2e822be
commit 6ed4c89dc8

View File

@ -703,6 +703,8 @@ public abstract class HttpRequest {
* @return An aggregate publisher that publishes a request body
* logically equivalent to the concatenation of all bytes published
* by each publisher in the sequence.
*
* @since 16
*/
public static BodyPublisher concat(BodyPublisher... publishers) {
return RequestPublishers.concat(Objects.requireNonNull(publishers));