@RequestBody by reading the
body of the request through a compatible HttpMessageReader.
An @RequestBody method argument is also validated if it is
annotated with @jakarta.validation.Valid or
org.. Validation
failure results in an ServerWebInputException.
| Access | Constructor and Description |
|---|---|
| public | RequestBodyMethodArgumentResolver(List<HttpMessageReader<?>> readers, ReactiveAdapterRegistry registry)
|
| Modifier and Type | Method and Description |
|---|---|
| public Mono | resolveArgument(MethodParameter
the method parameter param, BindingContext the binding context to use bindingContext, ServerWebExchange the current exchange exchange)Implements org. Resolve the value for the method parameter. |
| public boolean | supportsParameter(MethodParameter
the method parameter parameter)Implements org. Whether this resolver supports the given method parameter. |
| RequestBodyMethodArgumentResolver | back to summary |
|---|---|
| public RequestBodyMethodArgumentResolver(List<HttpMessageReader<?>> readers, ReactiveAdapterRegistry registry) | |
| resolveArgument | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Resolve the value for the method parameter.
| |
| supportsParameter | back to summary |
|---|---|
| public boolean supportsParameter(MethodParameter parameter) Implements org. Doc from org. Whether this resolver supports the given method parameter.
| |