Chapter 6. Declarative Hyperlinking
Links are added to representations using the @Ref
annotation on entity class fields. The Jersey runtime is responsible for injecting the appropriate URI into the field prior to serialization by a message body writer. E.g. consider the following resource and entity classes:
Read full article from Chapter 6. Declarative Hyperlinking
No comments:
Post a Comment