Hi Mark,

you are right. I forgot the generic providers. Then there is the bug in the 
runtime, which you showed. Or there is a bug in the algorithm defined by the 
spec. But that's implausible ...
Feel free to fix it and post a patch for it.

best regards
    Stephan

-----Ursprüngliche Nachricht-----
Von: "Mark Kharitonov" <[email protected]>
Gesendet: 30.11.2011 21:49:31
An: [email protected]
Betreff: RE: Re: Wrong media type is selected for the GET request with JAX-RS

>You are wrong. The framework suggests three message body writers without a 
>single bit of help from me:
> - org.restlet.ext.jax​rs.internal.provider​.JaxbProvider
> - org.restlet.ext.jaxr​s.internal.provider.​ConverterProvider
> - org.restlet.ext.jaxr​s.internal.provider.​JsonProvider
>
>Both JaxbProvider and ​JsonProvider have no problems converting 
>com.shunra.poc.User into the respective XML or JSON representation.

___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2889681

Reply via email to