Annotation Interface Route
@Documented
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@RequirementMeta(type=STORING)
public @interface Route
Specifies the path associated with a service method or defines the parent path.
This annotation can be applied to methods or classes.
- Since:
- 1.0.0-SNAPSHOT
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
Defines the path associated with the annotated method or class.- Returns:
- The path as a string.
- Default:
- "/"
-