@Post method with capturing parenthesis in @Path not matched in Jersey
问题 I am having trouble getting JAX-RS POST methods to match with Jersey. Verbatim paths work fine ("/prefix/ABC/DEF"), but parenthesised captures ("/prefix/{alpha}/{beta}") fail to trigger. Here are the methods in question, as defined in the server interface, using Jersey. public interface CollectorEndpoint { ... @POST @Path("/prefix/{alpha}/{beta}") //doesn't match @Consumes(MediaType.APPLICATION_JSON) Response method1(@PathParam("alpha") String alpha, @PathParam("beta") String beta, String