Browse Source

Merge pull request #25539 from diguage

* pr/25539:
  Fix asciidoctor syntax for source

Closes gh-25539
pull/25798/head
Stephane Nicoll 4 years ago
parent
commit
b6842730f7
  1. 4
      src/docs/asciidoc/integration.adoc

4
src/docs/asciidoc/integration.adoc

@ -1217,7 +1217,7 @@ To send multipart data, you need to provide a `MultiValueMap<String, Object>` wh @@ -1217,7 +1217,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<>();
@ -1238,7 +1238,7 @@ explicitly provide the `MediaType` with an `HttpEntity` wrapper. @@ -1238,7 +1238,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 = ...;

Loading…
Cancel
Save