Skip to content

Commit 5609e67

Browse files
committed
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
1 parent b2be07c commit 5609e67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/http/client/MultipartBodyBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -44,7 +44,7 @@
4444
* others registered in the
4545
* {@link org.springframework.core.ReactiveAdapterRegistry ReactiveAdapterRegistry}.
4646
*
47-
* <p>This builder is intended for use with the reactive
47+
* <p>This builder is intended to POST {@code multipart/form-data} using the reactive
4848
* {@link org.springframework.web.reactive.function.client.WebClient WebClient}.
4949
* For multipart requests with the {@code RestTemplate}, simply create and
5050
* populate a {@code MultiValueMap<String, HttpEntity>} as shown in the Javadoc for

0 commit comments

Comments
 (0)