Browse Source

Fix format typo in webmvc.adoc

Closes gh-1849
pull/1884/head
Jason Zhekov 8 years ago committed by Stephane Nicoll
parent
commit
fe01e5114d
  1. 4
      src/docs/asciidoc/web/webmvc.adoc

4
src/docs/asciidoc/web/webmvc.adoc

@ -1790,7 +1790,7 @@ supported for all return values, see below for more details. @@ -1790,7 +1790,7 @@ supported for all return values, see below for more details.
`ResponseEntity`. See <<mvc-ann-async>> and <<mvc-ann-async-http-streaming>>.
| Reactive types -- Reactor, RxJava, or others via `ReactiveAdapterRegistry`
| Alternative to ``DeferredResult` with multi-value streams (e.g. `Flux`, `Observable`)
| Alternative to `DeferredResult` with multi-value streams (e.g. `Flux`, `Observable`)
collected to a `List`.
For streaming scenarios -- e.g. `text/event-stream`, `application/json+stream` --
@ -1900,7 +1900,7 @@ To get all matrix variables, use a `MultiValueMap`: @@ -1900,7 +1900,7 @@ To get all matrix variables, use a `MultiValueMap`:
@GetMapping("/owners/{ownerId}/pets/{petId}")
public void findPet(
@MatrixVariable MultiValueMap<String, String> matrixVars,
@MatrixVariable(pathVar="petId"") MultiValueMap<String, String> petMatrixVars) {
@MatrixVariable(pathVar="petId") MultiValueMap<String, String> petMatrixVars) {
// matrixVars: ["q" : [11,22], "r" : 12, "s" : 23]
// petMatrixVars: ["q" : 22, "s" : 23]

Loading…
Cancel
Save