cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject [jaxrs] client builder and generics
Date Wed, 06 May 2015 12:46:10 GMT
Hi

when using async client jaxrs api like:

.get(new InvocationCallback<Collection<Foo>>() { ... }

the provider (body writer) get rawtype = collection (ok), genericType =
 foo (ko IMO)

why isn't it Collection<Foo>? was it intended?
Seems org.apache.cxf.jaxrs.client.WebClient#doInvokeAsyncCallback is unwrap
it.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message