I am using Jersey RESTful web services. I have below resource.
@Path("/banker/{location}")
@Component
public class BankResource{
@GET
@Path("/{id}")
@Produces({MediaType.APPLICATION_XML})
@Override
public Response getBankerByID(@PathParam("id") String id) {
//some logic
}
}
In above class how can i get the value of {location} ? Because based on {location} value i need to do some processing. Is it possible to get its value?
Thanks!