Package jakarta.mvc
Annotation Type UriRef
-
@Target(METHOD) @Retention(RUNTIME) public @interface UriRef
Defines a symbolic name for a controller method to be referenced by one of the
MvcContext.uri(java.lang.String)
methods.The same value of @UriRef can only be used multiple times on different methods if these methods are using the same URI-template with different HTTP verbs.
- Since:
- 1.0
- Author:
- Florian Hirsch
- See Also:
MvcContext.uri(java.lang.String)
-
-
Element Detail
-
value
String value
The symbolic name- Returns:
- symbolic reference
-
-