Annotation Interface HttpAlias
-
Optional Element Summary
Optional Elements
-
Element Details
-
method
String methodHTTP method (eg. "ALL", "POST", "GET", "REST", "CONNECT", "DELETE", "HEAD", "OPTIONS", "PUT", "TRACE", etc.).- Returns:
- HTTP method
- Default:
"ALL"
-
path
String pathPath-alias of the Action.- Returns:
- path of the service (eg. "action" or "foo/bar/:var1/:var2")
- Default:
""
-
route
String routePath of the Route (optional, this is only required if there are multiple Route objects - the value of the path identifies the Route).- Returns:
- path of the route(eg. "/route1")
- Default:
""
-