public class MatrixVariableMethodArgumentResolver
extends org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
@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).
Constructor and Description |
---|
MatrixVariableMethodArgumentResolver() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.NamedValueInfo |
createNamedValueInfo(org.springframework.core.MethodParameter parameter) |
protected void |
handleMissingValue(java.lang.String name,
org.springframework.core.MethodParameter parameter) |
protected java.lang.Object |
resolveName(java.lang.String name,
org.springframework.core.MethodParameter parameter,
org.springframework.web.context.request.NativeWebRequest request) |
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter) |
public MatrixVariableMethodArgumentResolver()
public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
protected org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.NamedValueInfo createNamedValueInfo(org.springframework.core.MethodParameter parameter)
createNamedValueInfo
in class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
@Nullable protected java.lang.Object resolveName(java.lang.String name, org.springframework.core.MethodParameter parameter, org.springframework.web.context.request.NativeWebRequest request) throws java.lang.Exception
resolveName
in class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
java.lang.Exception
protected void handleMissingValue(java.lang.String name, org.springframework.core.MethodParameter parameter) throws org.springframework.web.bind.ServletRequestBindingException
handleMissingValue
in class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
org.springframework.web.bind.ServletRequestBindingException