You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2013/07/22 13:10:50 UTC
[jira] [Commented] (CXF-5140) Support typed JAXRS proxies
[ https://issues.apache.org/jira/browse/CXF-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715116#comment-13715116 ]
Francesco Chicchiriccò commented on CXF-5140:
---------------------------------------------
Fine, please link this new JIRA issue when created.
Thanks.
> 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