![JAR search and dependency download from the Maven repository](/logo.png)
org.jboss.resteasy.links.ResourceID Maven / Gradle / Ivy
The newest version!
package org.jboss.resteasy.links;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* Marks this property as this resource's ID in URI templates.
*
*
* Suppose this resource can be accessed using the URI template /orders/{name}
,
* and your resource holds the name
bean property, then your
* name
property should be annotated with {@link ResourceID @ResourceID}.
*
*
* @author Stéphane Épardaud
*/
@Target({ ElementType.METHOD, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ResourceID {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy