@@ -1749,7 +1749,7 @@ controller. The following code snippet shows the usage:
1749
1749
1750
1750
[TIP]
1751
1751
====
1752
- Unlike the Servlet API "request parameter" concept that conflate query parameters, form
1752
+ Unlike the Servlet API "request parameter" concept that conflates query parameters, form
1753
1753
data, and multiparts into one, in WebFlux each is accessed individually through the
1754
1754
`ServerWebExchange`. While `@RequestParam` binds to query parameters only, you can
1755
1755
use data binding to apply query parameters, form data, and multiparts to a
@@ -1758,17 +1758,17 @@ use data binding to apply query parameters, form data, and multiparts to a
1758
1758
1759
1759
Method parameters using using the `@RequestParam` annotation are required by default, but
1760
1760
you can specify that a method parameter is optional by setting ``@RequestParam``'s
1761
- `required` flag to `false` or by declaring the argument with an `java.util.Optional`
1761
+ `required` flag to `false` or by declaring the argument with a `java.util.Optional`
1762
1762
wrapper.
1763
1763
1764
1764
Type conversion is applied automatically if the target method parameter type is not
1765
1765
`String`. See <<mvc-ann-typeconversion>>.
1766
1766
1767
- When an `@RequestParam` annotation is declared as `Map<String, String>` or
1767
+ When an `@RequestParam` annotation is declared on a `Map<String, String>` or
1768
1768
`MultiValueMap<String, String>` argument, the map is populated with all query parameters.
1769
1769
1770
- Note that use of `@RequestParam` is optional, e.g. to set its attributes.
1771
- By default any argument that is a simple value type, as determined by
1770
+ Note that use of `@RequestParam` is optional -- for example, to set its attributes. By
1771
+ default any argument that is a simple value type, as determined by
1772
1772
{api-spring-framework}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty],
1773
1773
and is not resolved by any other argument resolver, is treated as if it was annotated
1774
1774
with `@RequestParam`.
@@ -2275,12 +2275,11 @@ on a container object that specifies request headers and body. Below is an examp
2275
2275
}
2276
2276
----
2277
2277
2278
- As many return values, `ResponseEntity` can be wrapped by a reactive type such as `Mono`.
2279
- In case of a `Mono<ResponseEntity>` return type, the empty `Mono` case will be
2278
+ As is the case for many return values, `ResponseEntity` can be wrapped by a reactive type
2279
+ such as `Mono`. In case of a `Mono<ResponseEntity>` return type, an empty `Mono` will be
2280
2280
automatically converted to a `ResponseEntity` with an empty body and an HTTP 404 status,
2281
- so you don't need to chain your `Mono` with an `switchIfEmpty` / `defaultIfEmpty` for simple
2282
- HTTP 404 responses.
2283
- Here's an example of this:
2281
+ so you don't need to chain your `Mono` with a `switchIfEmpty` / `defaultIfEmpty` for
2282
+ simple HTTP 404 responses. Here's an example of this:
2284
2283
2285
2284
[source,java,indent=0]
2286
2285
[subs="verbatim,quotes"]
0 commit comments