[jax-rs-spec users] Nested BeanParams

From: Sergey Beryozkin <>
Date: Mon, 5 Oct 2015 17:54:45 +0100


We have an issue reported related to the fact that no nested BeanParams
are supported in CXF,
where a top level @BeanParam POJO has one of its methods/properties also
annotated with @BeanParam, example:

public class A {
    @Context HttpHeaders headers;
    @BeanParam B b;

public class B {
    @QueryParam String someQueryParam;

public Response get(@BeanParam A a);

Marek, can you please confirm it is supposed to work ?
BeanParam docs can indeed be read such that nested BeanParams are
expected to work, though it seems a bit too complex.
The user has confirmed it works in Jersey - but is it RI specific or
very much spec compliant ?

Thanks, Sergey