RequestMapping
annotated handler methods.
If the method parameter type is java. and a matrix variable
name is specified, then the matrix variable value is converted to a
java. assuming an appropriate conversion strategy is available.
If the method parameter is Map<String, String> or
MultiValueMap<String, String>
and a variable name is not specified, then the map is populated with all
matrix variable names and values.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | pathVar()
The name of the URI path variable where the matrix variable is located, if necessary for disambiguation (e.g. a matrix variable with the same name present in more than one path segment). |
| public boolean | |
| public String |
| defaultValue | back to summary |
|---|---|
| public String defaultValue() The default value to use as a fallback. Supplying a default value implicitly sets | |
| name | back to summary |
|---|---|
| public String name() The name of the matrix variable. | |
| pathVar | back to summary |
|---|---|
| public String pathVar() The name of the URI path variable where the matrix variable is located, if necessary for disambiguation (e.g. a matrix variable with the same name present in more than one path segment). | |
| required | back to summary |
|---|---|
| public boolean required() Whether the matrix variable is required. Default is Alternatively, provide a | |
| value | back to summary |
|---|---|
| public String value() Alias for
| |