Map annotated with @MatrixVariable
where the annotation does not specify a name. In other words the purpose of this resolver
is to provide access to multiple matrix variables, either all or associated with a specific
path variable.
When a name is specified, an argument of type Map is considered to be a single attribute
with a Map value, and is resolved by MatrixVariableMethodArgumentResolver instead.
MatrixVariableMethodArgumentResolver
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private MultiValueMap | mapMatrixVariables(MethodParameter parameter, Map<String, MultiValueMap<String, String>> matrixVariables)
|
| public Object | resolveArgumentValue(MethodParameter
the method parameter parameter, BindingContext the binding context to use bindingContext, ServerWebExchange the current exchange exchange)Implements org. Resolve the value for the method parameter synchronously. |
| public boolean | supportsParameter(MethodParameter
the method parameter parameter)Implements org. Whether this resolver supports the given method parameter. |
| MatrixVariableMapMethodArgumentResolver | back to summary |
|---|---|
| public MatrixVariableMapMethodArgumentResolver(ReactiveAdapterRegistry registry) | |
| isSingleValueMap | back to summary |
|---|---|
| private boolean isSingleValueMap(MethodParameter parameter) | |
| mapMatrixVariables | back to summary |
|---|---|
| private MultiValueMap | |
| resolveArgumentValue | back to summary |
|---|---|
| public Object resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Implements org. Resolve the value for the method parameter synchronously.
| |
| supportsParameter | back to summary |
|---|---|
| public boolean supportsParameter(MethodParameter parameter) Implements org. Doc from org. Whether this resolver supports the given method parameter.
| |