like, if my request is /me/myname/is/foo
I have designated like this in JAX-RS
@Path("myName/{var}")
public String getN(@PathParam("var") String s) {
//my request has to lie here. It doesn't because it has one more resource.. I want to create sth like after /myname, Everything is to be on this method. How to do this?
//like I wanted path value to be /is/foo
}
Aucun commentaire:
Enregistrer un commentaire