cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veit Guna (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6623) Add support for nested @BeanParam's
Date Mon, 05 Oct 2015 07:00:35 GMT
Veit Guna created CXF-6623:
------------------------------

             Summary: Add support for nested @BeanParam's
                 Key: CXF-6623
                 URL: https://issues.apache.org/jira/browse/CXF-6623
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
    Affects Versions: 3.0.4
         Environment: CXF JAX-RS client proxy, JDK8, Windows 7 64bit
            Reporter: Veit Guna


I'm using Apache CXF 3.0.4 on client side against a Jersey based REST
service.
On client side I'm using the CXF client proxy using the server side
interface classes. 

It seems that nested {code}@BeanParam{code}'s doesn't seem to be supported, since using them
does not have any affect.

Having (pseudocode):

{code}
class A {
    B b;

    @BeanParam
    set(B b);
    B get();
}

class B {
    String bar;

    @QueryParam("foo")
    set(String bar);
    String get();
}

Interface {
    something(@BeanParam A a);
}
{code}

Invoking Jersey's endpoint manually giving the query params seem to
work without a problem.

So it would be great, if this would be supported on CXF client side as well.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message