Improve Javadoc of MultipartBodyBuilder

This commit improves the Javadoc of MultipartBodyBuilder, to make it
clear that it is intended for multipart/form-data.

See gh-30179
This commit is contained in:
Arjen Poutsma 2023-03-28 14:04:09 +02:00
parent b2be07c73c
commit 5609e67100
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2023 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.
@ -44,7 +44,7 @@ import org.springframework.util.MultiValueMap;
* others registered in the
* {@link org.springframework.core.ReactiveAdapterRegistry ReactiveAdapterRegistry}.
*
* <p>This builder is intended for use with the reactive
* <p>This builder is intended to POST {@code multipart/form-data} using the reactive
* {@link org.springframework.web.reactive.function.client.WebClient WebClient}.
* For multipart requests with the {@code RestTemplate}, simply create and
* populate a {@code MultiValueMap<String, HttpEntity>} as shown in the Javadoc for