users@jersey.java.net

Re: [Jersey] _at_ImplicitProduces and priorities <was> Re: [Jersey] prioritising HTML representations in web applications when using implicit or explicit views

From: James Strachan <james.strachan_at_gmail.com>
Date: Thu, 5 Feb 2009 14:52:50 +0000

2009/2/5 Paul Sandoz <Paul.Sandoz_at_sun.com>:
> On Feb 4, 2009, at 6:45 PM, James Strachan wrote:
>>
>> Its much less essential, but supporting the nicer new MIME strings on
>> @Produces would be great too - so you can use a single constant in
>> your code to refer to a set of MIME types (e.g. application/xml,
>> text/xml and application/json for example) to avoid having to cut and
>> paste a String[] expression in each method using the @Produces
>> annotation.
>>
>> I've raised an issue for this so we don't forget - but its more a case
>> of making things more consistent and DRY, so way less important than
>> support in @ImplicitProduces :)
>> https://jersey.dev.java.net/issues/show_bug.cgi?id=202
>>
>
> Thanks, for now i am not implementing proposed JAX-RS 1.1 features because
> they have yet to be approved. Once approved i will start implementing such
> features in earnest!

Cool no worries! Just wanted to pop a test case in the issue tracker
before I forgot.

-- 
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/