Fix wrong document about RequestHeaderArgumentResolver
Also test is added to verify that. Signed-off-by: Yanming Zhou <zhouyanming@gmail.com> See gh-34230
This commit is contained in:
committed by
rstoyanchev
parent
7d844274dc
commit
a8c5885aff
@@ -940,7 +940,7 @@ method parameters:
|
||||
| `@RequestHeader`
|
||||
| Add a request header or multiple headers. The argument may be a `Map<String, ?>` or
|
||||
`MultiValueMap<String, ?>` with multiple headers, a `Collection<?>` of values, or an
|
||||
individual value. Type conversion is supported for non-String values. This overrides
|
||||
individual value. Type conversion is supported for non-String values. This does not override
|
||||
the annotation's `headers` attribute.
|
||||
|
||||
| `@PathVariable`
|
||||
|
||||
Reference in New Issue
Block a user