[ https://issues.apache.org/jira/browse/CXF-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584724#comment-13584724 ]
Sambit Dikshit commented on CXF-4848: ------------------------------------- Thanks Sergey, This is exactly my requirement which is missing and as i mention in JIRA - https://issues.apache.org/jira/browse/CXF-4799 > WebClient does not process GenericEntity correctly > -------------------------------------------------- > > Key: CXF-4848 > URL: https://issues.apache.org/jira/browse/CXF-4848 > Project: CXF > Issue Type: Bug > Reporter: Sergey Beryozkin > Assignee: Sergey Beryozkin > Fix For: 2.8.0, 2.7.4, 2.6.7, 2.5.10 > > > GenericEntity is JAX-RS 1.0 class which can be used to write explicit > collection or other generic class instances, example: > {code:java} > GenericEntity<List<Book>> genericEntity = > new GenericEntity<List<Book>>(books) { > }; > {code} > or > {code:java} > class Representation<T> { > private T data; > public Representation(T data) { > this.data = data; > } > } > Representation<Book> rep = new Representation<Book>(new Book()); > GenericEntity<Representation<Book>> genericEntity2 = > new GenericEntity<Representation<Book>>(rep, Book.class); > {code} > This is supported on the server, when writing responses, but not with > WebClient -- 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