Map method arguments annotated with
@PathVariable where the annotation does not specify a
path variable name. The resulting Map argument is a copy of all URI
template name-value pairs.
PathVariableMethodArgumentResolver
| 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 parameter)Implements org. Whether this resolver supports the given method parameter. |
| PathVariableMapMethodArgumentResolver | back to summary |
|---|---|
| public PathVariableMapMethodArgumentResolver(ReactiveAdapterRegistry adapterRegistry) | |
| allVariables | back to summary |
|---|---|
| private boolean allVariables(PathVariable pathVariable, 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 parameter) Implements org. Doc from org. Whether this resolver supports the given method parameter.
| |