spring-framework / org.springframework.web.servlet.mvc.method.annotation / MatrixVariableMethodArgumentResolver

MatrixVariableMethodArgumentResolver

open class MatrixVariableMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver

Resolves arguments annotated with MatrixVariable.

If the method parameter is of type Map it will by resolved by MatrixVariableMapMethodArgumentResolver instead unless the annotation specifies a name in which case it is considered to be a single attribute of type map (vs multiple attributes collected in a map).

Author
Rossen Stoyanchev

Author
Sam Brannen

Since
3.2

Constructors

<init>

MatrixVariableMethodArgumentResolver()

Functions

supportsParameter

open fun supportsParameter(parameter: MethodParameter): Boolean

Inherited Functions

resolveArgument

fun resolveArgument(parameter: MethodParameter, mavContainer: ModelAndViewContainer, webRequest: NativeWebRequest, binderFactory: WebDataBinderFactory): Any