This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Rest - dynamic @Path  RSS feed

 
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: 3829
79
  • 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!