Polish "Document @RequestAttribute"

See gh-32231
This commit is contained in:
Stéphane Nicoll 2024-02-12 10:35:30 +01:00
parent 89e34ae5ff
commit 728d5eeb74
1 changed files with 3 additions and 5 deletions

View File

@ -973,6 +973,9 @@ method parameters:
`Map<String, ?>` with multiple variables, or an individual value. Type conversion `Map<String, ?>` with multiple variables, or an individual value. Type conversion
is supported for non-String values. is supported for non-String values.
| `@RequestAttribute`
| Provide an `Object` to add as a request attribute. Only supported by `WebClient`.
| `@RequestBody` | `@RequestBody`
| Provide the body of the request either as an Object to be serialized, or a | Provide the body of the request either as an Object to be serialized, or a
Reactive Streams `Publisher` such as `Mono`, `Flux`, or any other async type supported Reactive Streams `Publisher` such as `Mono`, `Flux`, or any other async type supported
@ -1001,11 +1004,6 @@ method parameters:
`MultiValueMap<String, ?>` with multiple cookies, a `Collection<?>` of values, or an `MultiValueMap<String, ?>` with multiple cookies, a `Collection<?>` of values, or an
individual value. Type conversion is supported for non-String values. individual value. Type conversion is supported for non-String values.
| `@RequestAttribute`
| Provide an `Object` to add as a request attribute. Available only when a client
that supports request attributes is used under the hood. At this point
only supported for `WebClient`.
|=== |===