org.springframework.web.servlet.mvc.method.annotation

Class MatrixVariableMapMethodArgumentResolver

  • java.lang.Object
    • org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMapMethodArgumentResolver
  • All Implemented Interfaces:
    HandlerMethodArgumentResolver


    public class MatrixVariableMapMethodArgumentResolver
    extends java.lang.Object
    implements HandlerMethodArgumentResolver
    Resolves arguments of type 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.

    Since:
    3.2
    Author:
    Rossen Stoyanchev