Annotation Interface Uri


Used to identify a class or bean property as a URI.

Can be used in the following locations:

  • Classes that should be treated as URIs when serialized.
  • Methods/fields whose values should be treated as URIs when serialized.
  • @Rest-annotated classes and @RestOp-annotated methods when used with @UriApply.

This annotation allows you to identify other classes that return URIs via toString() as URI objects.

See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional description for the exposed API.
  • Element Details

    • description

      Optional description for the exposed API.
      Returns:
      The annotation value.
      Since:
      9.2.0
      Default:
      {}