Package dev.relism.flash.routing
Annotation Interface Route
HTTP method and path for a class-based
RequestHandler.
Path is relative to the mount namespace (e.g. path = "/profile" under /api
→ /api/profile).
Prefer shorthand (@GET("/x"), @POST("/x"), …); they are meta-annotated
with @Route and resolve to the same metadata as an explicit @Route(method=…, path=…)
via Routes.of(Class).
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
method
HttpMethod method- Default:
GET
-
path
String path
-