Package org.glassfish.jersey.linking
Annotation Interface Binding
Specifies the binding between a URI template parameter and a bean property.
- Author:
- Mark Hadley, Gerard Davison (gerard.davison at oracle.com)
- See Also:
-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
value
String valueSpecifies the value of a URI template parameter. The value is an EL expression using immediate evaluation syntax. E.g.:${instance.widgetId}
In the above example the value is taken from thewidgetId
property of the implicitinstance
bean.Three implicit beans are supported:
instance
- The object whose class contains the
InjectLink
annotation. entity
- The entity returned by the resource class method. This is either the resource method return value or the entity property for a resource method that returns Response.
resource
- The resource class instance that
returned the object that contains the
InjectLink
annotation.
-
-
-
name
String nameSpecifies the name of the URI template parameter, defaults to "value" for convenience.- Default:
- "value"
-