I am aware about the usage of PathParam annotation and the standard way to utilize it is :
@Path(/data/{id})
... getData(@PathParam("id") String id){...}
Can I use PathParam without a parameter in Path annotation? For eg:
@Path(/data)
... getData(@PathParam("id") String id){...}
If yes, what does the value of the string id depict?