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: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 05 Feb 2009 11:24:04 +0100

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!

Paul.