• Post Reply Bookmark Topic Watch Topic
  • New Topic

Rest - dynamic @Path

 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I set value for @Path,



thanks....
 
Tim Moores
Saloon Keeper
Posts: 3248
54
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that is possible using annotations. Declaring the resource programmatically, it's easy: https://jersey.java.net/documentation/latest/resource-builder.html
 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:I don't think that is possible using annotations. Declaring the resource programmatically, it's easy: https://jersey.java.net/documentation/latest/resource-builder.html


thanks for your reply ...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!