Annotation Type Binding

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Specifies the value of a URI template parameter.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      Specifies the name of the URI template parameter, defaults to "value" for convenience.
    • Element Detail

      • value

        String value
        Specifies 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 the widgetId property of the implicit instance 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 name
        Specifies the name of the URI template parameter, defaults to "value" for convenience.
        Default:
        "value"