public class MatrixVariableMapMethodArgumentResolver extends Object implements org.springframework.web.method.support.HandlerMethodArgumentResolver
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.
Constructor and Description |
---|
MatrixVariableMapMethodArgumentResolver() |
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(org.springframework.core.MethodParameter parameter,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest request,
org.springframework.web.bind.support.WebDataBinderFactory binderFactory) |
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter) |
public MatrixVariableMapMethodArgumentResolver()
public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
supportsParameter
in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
@Nullable public Object resolveArgument(org.springframework.core.MethodParameter parameter, @Nullable org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest request, @Nullable org.springframework.web.bind.support.WebDataBinderFactory binderFactory) throws Exception
resolveArgument
in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
Exception