You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2013/07/18 17:48:48 UTC

[jira] [Created] (CXF-5140) Support typed JAXRS proxies

Sergey Beryozkin created CXF-5140:
-------------------------------------

             Summary: Support typed JAXRS proxies 
                 Key: CXF-5140
                 URL: https://issues.apache.org/jira/browse/CXF-5140
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
             Fix For: 3.0.0, 2.7.7


if we have 
{code:java}
public interface Service<T> {

  T get();

}
{code}

Then we should be able to have

{code:java}
Service<Book> service = JAXRSClientFactory.create(address, new GenericType<Service<Book>>());

service.get();

{code}

This will allow the proxy pass on the correct type info to the providers

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira