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(org.springframework.core.MethodParameter parameter,
org.springframework.ui.ModelMap model,
org.springframework.web.server.ServerWebExchange exchange)
Return a Map with all URI template variables or an empty map.
|
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter) |
public PathVariableMapMethodArgumentResolver()
public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
supportsParameter
in interface HandlerMethodArgumentResolver
public reactor.core.publisher.Mono<Object> resolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.ui.ModelMap model, org.springframework.web.server.ServerWebExchange exchange)
resolveArgument
in interface HandlerMethodArgumentResolver
parameter
- the method parametermodel
- the implicit model for request handlingexchange
- the current exchange