cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-5140) Support typed JAXRS proxies
Date Thu, 18 Jul 2013 15:48:48 GMT
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

Mime
View raw message