Annotation Interface Url
Defines the URL path for a class or method handling HTTP requests.
When applied to a @Controller
class, it specifies the base URL.
When applied to a method, it defines the specific endpoint relative to
the base URL. If no value is provided, an empty string is assumed.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Sandratra NIAINA
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe URL path for the annotated class or method.- Returns:
- the URL path (defaults to an empty string)
- Default:
- ""
-