[jax-rs-spec users] [jsr339-experts] MediaType parameters and the method selection

From: Sergey Beryozkin <>
Date: Wed, 2 Oct 2013 11:36:31 +0100


Can custom media type parameters affect the method selection, example

public class Resource {

    public void m1(SomeData data) {}
    public void m2(SomeData data) {}


Request has:

Content-Type: application/json;a=b

Method m2 seems like a better candidate than m1, but is there anything
in the spec that would support the consistent selection of m2 ?

Cheers, Sergey