Package dev.voidframework.web.http.param
Annotation Interface RequestRoute
Annotation which indicates that the method should
be called if the incoming request matches.
-
Optional Element Summary
Optional Elements
-
Element Details
-
method
HttpMethod methodReturns the HTTP method (ie: GET).- Returns:
- The HTTP method
- Default:
- GET
-
route
String routeReturns the route URL (ie: /test/helloworld).- Returns:
- The route URL
- Default:
- "/"
-
name
String nameReturns the route name. This name is used during the reverse URL process.- Returns:
- The route name
- Default:
- ""
-