Reputation: 10945
Using jersey - I know I can annotate a method with
@Path("/{a:path1|path2}")
but I was wandering if it was also possible to just use two annotations on a single method
@Path("path1")
@Path("path2")
To get almost the same effect (I know - this way I can not get a @PathParam ).
Upvotes: 0
Views: 494