Package org.jboss.resteasy.links
Annotation Type ResourceIDs
-
@Target(TYPE) @Retention(RUNTIME) @Documented public @interface ResourceIDs
Defines an ordered list of bean properties that defines this resource's ID in URI templates.
Suppose this resource can be accessed using the URI template
/orders/{name}/{id}
, and your resource holds the two bean propertiesname
andid
, then your resource class should be annotated with@ResourceIDs({"name", "value"})
.- Author:
- Stéphane Épardaud
-
-
Element Detail
-
value
String[] value
-
-