Map method arguments annotated with
@RequestParam where the annotation does not specify a
request parameter name. See RequestParamMethodArgumentResolver for
resolving Map method arguments with a request parameter name.
The created Map contains all request parameter name-value pairs.
If the method parameter type is MultiValueMap instead, the created
map contains all request parameters and all there values for cases where
request parameters have multiple values.
RequestParamMethodArgumentResolver
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public Object | resolveArgumentValue(MethodParameter
the method parameter methodParameter, BindingContext the binding context to use context, ServerWebExchange the current exchange exchange)Implements org. Resolve the value for the method parameter synchronously. |
| public boolean | supportsParameter(MethodParameter
the method parameter param)Implements org. Whether this resolver supports the given method parameter. |
| RequestParamMapMethodArgumentResolver | back to summary |
|---|---|
| public RequestParamMapMethodArgumentResolver(ReactiveAdapterRegistry adapterRegistry) | |
| allParams | back to summary |
|---|---|
| private boolean allParams(RequestParam requestParam, Class<?> type) | |
| resolveArgumentValue | back to summary |
|---|---|
| public Object resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange) Implements org. Resolve the value for the method parameter synchronously.
| |
| supportsParameter | back to summary |
|---|---|
| public boolean supportsParameter(MethodParameter param) Implements org. Doc from org. Whether this resolver supports the given method parameter.
| |