Update ContentRequestMatchers#multipartData Javadoc
This commit updates ContentRequestMatchers#multipartData Javadoc to mention Tomcat fork of Commons FileUpload library instead of the original variant. It also adds a similar note to ContentRequestMatchers#multipartDataContains. Closes gh-31988
This commit is contained in:
@@ -197,8 +197,9 @@ public class ContentRequestMatchers {
|
||||
* <li>{@link Resource} - content from a file
|
||||
* <li>{@code byte[]} - other raw content
|
||||
* </ul>
|
||||
* <p><strong>Note:</strong> This method uses the Apache Commons FileUpload
|
||||
* library to parse the multipart data and it must be on the test classpath.
|
||||
* <p><strong>Note:</strong> This method uses the fork of Commons FileUpload library
|
||||
* packaged with Apache Tomcat in the {@code org.apache.tomcat.util.http.fileupload}
|
||||
* package to parse the multipart data and it must be on the test classpath.
|
||||
* @param expectedMap the expected multipart values
|
||||
* @since 5.3
|
||||
*/
|
||||
@@ -209,6 +210,9 @@ public class ContentRequestMatchers {
|
||||
/**
|
||||
* Variant of {@link #multipartData(MultiValueMap)} that does the same but
|
||||
* only for a subset of the actual values.
|
||||
* <p><strong>Note:</strong> This method uses the fork of Commons FileUpload library
|
||||
* packaged with Apache Tomcat in the {@code org.apache.tomcat.util.http.fileupload}
|
||||
* package to parse the multipart data and it must be on the test classpath.
|
||||
* @param expectedMap the expected multipart values
|
||||
* @since 5.3
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user