users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Injecting JAX-RS parameters via setters

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 13 Feb 2014 14:42:06 +0000

Hi,

I've got a question related to BeanParam but I think it has a wider scope.

Suppose we a have a per-request resource,

public class Resource {

    @QueryParam("the_id")
    public void setId(String id) {...}

}

Right now CXF expects that the property name, translated to the
lower-case, should match to the HTTP parameter name, in this case we
have "the_id" vs "id", no match, no injection

Is it correct ?

Thanks, Sergey