public class PathVariableMapMethodArgumentResolver extends Object implements HandlerMethodArgumentResolver
Map
method arguments also annotated with
@PathVariable
where the annotation does not specify a
path variable name. The resulting Map
argument is a coyp of all URI
template name-value pairs.PathVariableMethodArgumentResolver
Constructor and Description |
---|
PathVariableMapMethodArgumentResolver() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Object> |
resolveArgument(MethodParameter parameter,
ModelMap model,
ServerWebExchange exchange)
Return a Map with all URI template variables or an empty map.
|
boolean |
supportsParameter(MethodParameter parameter) |
public PathVariableMapMethodArgumentResolver()
public boolean supportsParameter(MethodParameter parameter)
supportsParameter
in interface HandlerMethodArgumentResolver
public reactor.core.publisher.Mono<Object> resolveArgument(MethodParameter parameter, ModelMap model, ServerWebExchange exchange)
resolveArgument
in interface HandlerMethodArgumentResolver
parameter
- the method parametermodel
- the implicit model for request handlingexchange
- the current exchange