Skip to content

Commit 7ff80bc

Browse files
heoYHsbrannen
authored andcommitted
Fix example in Javadoc for MultipartBodyBuilder
See gh-30593
1 parent 8d6b0eb commit 7ff80bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
*
7777
* Mono<Void> result = webClient.post()
7878
* .uri("...")
79-
* .body(multipartBody)
79+
* .body(BodyInserters.fromMultipartData(multipartBody))
8080
* .retrieve()
8181
* .bodyToMono(Void.class)
8282
* </pre>

0 commit comments

Comments
 (0)