Polishing in HTTP interface argument resolvers

This commit is contained in:
rstoyanchev
2024-08-12 21:00:17 +03:00
parent 51de84e148
commit cef1b7ea6d
5 changed files with 18 additions and 14 deletions

View File

@@ -978,11 +978,13 @@ method parameters:
`MultiValueMap<String, ?>` with multiple cookies, a `Collection<?>` of values, or an
individual value. Type conversion is supported for non-String values.
The parameters can't be null unless they are set as not required through the annotation,
annotated with `@Nullable` or they are `Optional`.
|===
Method parameters cannot be `null` unless the `required` attribute (where available on a
parameter annotation) is set to `false`, or the parameter is marked optional as determined by
{spring-framework-api}/core/MethodParameter.html#isOptional()[`MethodParameter#isOptional`].
[[rest-http-interface-return-values]]
=== Return Values