diff --git a/spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java b/spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java index 41e8f195e2a..d99d98f28f6 100644 --- a/spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java +++ b/spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java @@ -197,8 +197,9 @@ public class ContentRequestMatchers { *
  • {@link Resource} - content from a file *
  • {@code byte[]} - other raw content * - *

    Note: This method uses the Apache Commons FileUpload - * library to parse the multipart data and it must be on the test classpath. + *

    Note: 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. + *

    Note: 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 */