Merge branch '5.2.x'

This commit is contained in:
Stephane Nicoll 2020-08-06 09:30:17 +02:00
commit 6d164b1445
1 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ To send multipart data, you need to provide a `MultiValueMap<String, Object>` wh
may be an `Object` for part content, a `Resource` for a file part, or an `HttpEntity` for
part content with headers. For example:
[source,java,intent=0]
[source,java,indent=0]
[subs="verbatim,quotes"]
----
MultiValueMap<String, Object> parts = new LinkedMultiValueMap<>();
@ -341,7 +341,7 @@ explicitly provide the `MediaType` with an `HttpEntity` wrapper.
Once the `MultiValueMap` is ready, you can pass it to the `RestTemplate`, as show below:
[source,java,intent=0]
[source,java,indent=0]
[subs="verbatim,quotes"]
----
MultiValueMap<String, Object> parts = ...;