dev@jsr311.java.net

Re: JSR311: Fwd: JSR 311 Comments

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Fri, 30 May 2008 18:13:16 +0200

Hi,
>>> Why is java.lang.String only supported for text/* when
>>> java.io.Reader is supported for */*? It would be more consistent if
>>> both java.lang.String and java.io.Reader was supported for either
>>> text/* or */*.
>> Good question, I've created issue 41 to track this:
>>
>> https://jsr311.dev.java.net/issues/show_bug.cgi?id=41
My StringProvider supports "app/xml", "app/*+xml", "app/json" as
addition to "text/*". That seemed useful to me.
(I could not add it to the issue, because I'm not allowed to)

best regards
   Stephan