• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jersey: @Path hierachy  RSS feed

 
Jairo Honorio
Greenhorn
Posts: 1
Android Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've been using jersey for two weeks and I am learning about the available annotations. I have a question about using the @Path annotation. I don't know how the paths are resolved when setting a path and a path parameter. For example in :



If /example/value is invoked, which method will be called?
Also, how are these conflicts managed by jersey?

Thank you very much for your help!

PD : the code may have syntax mistakes
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

That's easy to test, isn't it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!