users@jersey.java.net

Re: [Jersey] JAX-RS / Jersey as the main Java web framework going forward...

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 28 Jan 2009 12:46:44 +0100

On Jan 28, 2009, at 10:55 AM, James Strachan wrote:

> 2009/1/28 Paul Sandoz <Paul.Sandoz_at_sun.com>:
>>
>> On Jan 28, 2009, at 9:34 AM, james.strachan_at_gmail.com wrote:
>>
>>> Could a client API be included in a 1.1 maintenance release, or is
>>> that a stretch too far :-)
>>>
>>
>> Unfortunately the latter. A maintenance release is not suitable for
>> new
>> features of the scope of the client API.
>
> It was worth a try :)
>
> While I'm pushing my luck, how about adding support for the ;q=1.0
> type priority/quality modifier to 1.1?
> https://jsr311.dev.java.net/issues/show_bug.cgi?id=46
> http://gewis.win.tue.nl/~koen/conneg/rfc2296.txt
>
> Its a fairly minor change to the spec (no API change and a minor spec
> update describing the sorting algorithm)?

I do not agree it is such a minor spec change as that for comma
separated strings. It will require a change to the resource matching
algorithm, step 3 of section 3.7.2, which i think will time for the EG
to digest and review.

Note that the MR is now in review:

   http://jcp.org/aboutJava/communityprocess/maintenance/jsr311/311ChangeLog.html

Paul.

> Until 2.0 it could even be
> declared as an optional feature respecting the quality in sort order
> (since there's nothing to stop you using RFC2296 mime types in JAX-RS
> now) so that JAX-RS implementations don't have to implement it but
> they are encouraged if possible.
>
> Due to https://jsr311.dev.java.net/issues/show_bug.cgi?id=64 1.1 is
> already having a minor change to support comma separated MIME types in
> @Produces/_at_Consumes so it might be a good time to do both together?
> (commas and ;q=1.0 allowed when parsing MIME strings in JAX-RS).
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://fusesource.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>