On May 4, 2009, at 7:29 PM, Tatu Saloranta wrote:
> On Mon, May 4, 2009 at 1:37 AM, Paul Sandoz <Paul.Sandoz_at_sun.com>
> wrote:
>>
> ...
>> No. JAX-RS does not define support for such non-String-based
>> primitive
>> types. It is an open question to what exactly should be the string
>> format of
>> such primitive types.
>
> Fair enough, for general case.
>
> For text/plain, it seems like it'd be easy enough to have something
> like ToStringMessageBodyReader/Writer. But not sure if that's worth
> additional work.
>
Here is an interesting blog related to this topic:
http://soundadvice.id.au/blog/2009/05/05/#textplain
Paul.