Can we have multiple @Get and @Put for different URL's pointing to them??
For eg:
For URI: /car/nissan, I have a @Get("json") method pointing to return nissan
car attributes as json
For URI: /car, I need just a list of car attributes to be returned as json
But both these URI's are pointing to the CarResource which means I need some
distinction on the @Get("json") method based on the URL.
In short, do we or can we have the @Path annotation in JAX-RS for Restlet
resources??
Thanks,
Hetal Gaglani
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2705165