Hi all,
I have the following code running in my webservice on localhost with Wildfly 10 and resteasy 3.0.19
@Path("{name: resources|observations}")
@GET
public String findUserByName(@PathParam("name") String userName) {
return "RESOURCE";
}
@Path("{name: .*}")
@GET
public String findUserByNameIdMix(@PathParam("name") String userName) {
return "OTHERS";
}
When calling http://localhost:8080/resources, I get "OTHERS". The same code in Jersey is working ok. Could you please help me on that?
I think you will have a better chance of this getting answered the Resteasy mailing list which is at RESTEasy / Mailing Lists