@Target(value=PARAMETER)
@Retention(value=RUNTIME)
@Documented
public @interface PathVariable
RequestMapping
annotated handler methods in Servlet
environments.
If the method parameter is Map<String, String>
or
MultiValueMap<String, String>
then the map is populated with all path variable names and values.
RequestMapping
,
RequestMappingHandlerAdapter
,
AnnotationMethodHandlerAdapter
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value
The URI template variable to bind to.
|