https://jsr311.dev.java.net/nonav/javadoc/javax/ws/rs/ext/MessageBodyWriter.html#writeTo(T,%20java.lang.Class,%20java.lang.reflect.Type,%20java.lang.annotation.Annotation[],%20javax.ws.rs.core.MediaType,%20javax.ws.rs.core.MultivaluedMap,%20java.io.OutputStream)
type - the class of object that
- Original Message -
From: Benson Margulies bimargul...@gmail.com
To: dev@cxf.apache.org
Sent: Monday, September 07, 2009 1:06 PM
Subject: Re: JAX-RS and generics
Sergey,
With Java generics, there's a pattern:
T public T gloop(ClassT type, whatever)
That pattern requires that you
Margulies [mailto:bimargul...@gmail.com]
Sent: 06 September 2009 03:15
To: CXF Dev
Subject: Re: JAX-RS and generics
On Sat, Sep 5, 2009 at 1:57 PM, Benson Margulies
bimargul...@gmail.comwrote:
JAX-RS defines two fundamental interfaces: MessageBodyReaderT and
MessageBodyWriterT, and providers
On Sat, Sep 5, 2009 at 1:57 PM, Benson Margulies bimargul...@gmail.comwrote:
JAX-RS defines two fundamental interfaces: MessageBodyReaderT and
MessageBodyWriterT, and providers implement.
I claim that GENERIC providers that work for any object (like those
corresponding to data bindings)