users@jsr311.java.net

Re: ProduceMime on subresource locators

From: Sergey Beryozkin <sergey.beryozkin_at_iona.com>
Date: Wed, 18 Jun 2008 15:02:22 +0100

Thanks for the confirmation, it makes sense...


> On Jun 18, 2008, at 9:46 AM, Sergey Beryozkin wrote:
>>
>> A CXF user spotted that CXF does what seems like a wrong check for
>> the media type match when selecting a
>> subresource locator. I think he's right, but I'd like some
>> confirmation please that indeed, when selecting a method which
>> happens to be a subresource locator, no media type match has to be
>> done.
>
> Correct, media type matching isn't done until selecting a suitable
> resource method.
>
>> While I agree it does not make much sense to check at this level,
>> one possible thought is that a user may want to do a check at the
>> subresource locator level to ensure that no further processing which
>> is bound to fail anyway continues...
>>
> True, but equally you could then have a situation where you add
> support for a new media type at a "terminal" resource class only to
> have access blocked by filtering on subresource locators.
>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland