Annotation Type ResourceIDs

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 properties name and id, then your resource class should be annotated with @ResourceIDs({"name", "value"}).

Stéphane Épardaud

Required Element Summary
 java.lang.String[] value

Element Detail


public abstract java.lang.String[] value

Copyright © 2010. All Rights Reserved.