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] [Commented] (CXF-5140) Support typed JAXRS proxies
Date Mon, 22 Jul 2013 11:20:49 GMT

    [ https://issues.apache.org/jira/browse/CXF-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715122#comment-13715122
] 

Sergey Beryozkin commented on CXF-5140:
---------------------------------------

Yep, done
                
> 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