Package io.micronaut.http.annotation
Annotation Interface PathVariable
@Documented
@Retention(RUNTIME)
@Target({FIELD,PARAMETER,ANNOTATION_TYPE})
@Bindable
@Inherited
public @interface PathVariable
Used to bind a parameter exclusively from a path variable.
- Since:
- 1.0.3
- Author:
- graemerocher
-
Optional Element Summary
-
Element Details
-
value
- Returns:
- The name of the parameter
- Default:
- ""
-
name
- Returns:
- The name of the parameter
- Default:
- ""
-
defaultValue
- Returns:
- The default value
- See Also:
- Default:
- ""
-