Specify the path mapping request to a controller. When placed on a package-info or a module-info
file, all routes in the package/module will have value added as a prefix
@Controller
@Path("/customers")
class CustomerController {
...
}
@Path("/customers") // all routes in this module will have a customers prefix
module example.module {
...
}
-
Required Element Summary
Required Elements
-
Element Details
-
value
String value
-