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(String name,
org.springframework.core.MethodParameter parameter) |
protected void |
handleMissingValueAfterConversion(String name,
org.springframework.core.MethodParameter parameter,
org.springframework.web.context.request.NativeWebRequest request) |
protected Object |
resolveName(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 Object resolveName(String name, org.springframework.core.MethodParameter parameter, org.springframework.web.context.request.NativeWebRequest request) throws Exception
resolveName in class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolverExceptionprotected void handleMissingValue(String name, org.springframework.core.MethodParameter parameter) throws org.springframework.web.bind.ServletRequestBindingException
handleMissingValue in class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolverorg.springframework.web.bind.ServletRequestBindingExceptionprotected void handleMissingValueAfterConversion(String name, org.springframework.core.MethodParameter parameter, org.springframework.web.context.request.NativeWebRequest request) throws Exception
handleMissingValueAfterConversion in class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolverException