Package org.actioncontroller.values
Annotation Type PathParam
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface PathParam
Maps part of the HTTP request target to the parameter, converting the type if necessary. For example @Get("/foo/:id") void myMethod(@PathParam("id") int id) maps the second segment of the path to the id parameter.- See Also:
HttpParameterMapping
-
-
Element Detail
-
value
String value
-
-