Java Jersey Declarative Hyperlinking @Ref Annotation Use

后端 未结 1 379
暗喜
暗喜 2021-01-05 06:21

I have been trying to expand upon the example provided in Chapter 6 (Declarative Hyperlinking) of the Jersey 1.12 documentation but appear to have hit a wall with regard to

相关标签:
1条回答
  • 2021-01-05 07:20

    My reading of that documentation says you could do something like this (untested!):

    @Ref(value="/offerings/{offeringId}/widgets/{widgetId}", style=ABSOLUTE)
    URI uri;
    
    0 讨论(0)
提交回复
热议问题