Imagining that I have some endpoint defined as:
@Path("path/{variable}/{variable})
class Resource {
@Path("hey")
public void function(@PathParam("variable") variable) {
}
}
In the case of calling path/A/B/hey what will be the value bound to variable?
I'm aware I could use UriInfo#getPathParameters() but I'd like to know what's the specified behaviour in this case.
Aucun commentaire:
Enregistrer un commentaire