vendredi 13 mars 2015

What is the behaviour in Jersey if I have two equal paths but one has a parameter?



I would like to know what happen if I have two @PUT services in Jersey and one is defined as:



@PUT
@Path("/{elementId}")


And another one as:



@PUT
@Path("/service")


What is the expected behaviour?




Aucun commentaire:

Enregistrer un commentaire