users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: _at_PostMatch vs. _at_PreMatch

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Mon, 18 Jun 2012 10:33:04 +0100

On 15/06/12 12:02, Marek Potociar wrote:
> Contrary to RestEasy, Jersey does often use pre-match filters. But I'm fine discussing which annotation would be more convenient.
>
I guess I agree with Bill that post-match is used more often. We can do
pre and post matches in CXF, but per matching is more about affecting
the http method name or content-type/accept, without even knowing if it
will lead to the successful match or not, while the post match is where
the real work often occurs, example, checking the security context, etc

Cheers, Sergey
> Marek
>
> On Jun 11, 2012, at 10:47 PM, Bill Burke wrote:
>
>> I don't know about Jersey or CXF, but I do not have any prematch "filters" (well, the resteasy equivalent to filter). Was wondering if maybe prematch is an edge case, and the more often used case would be postmatch.
>>
>> Bill
>>
>> --
>> Bill Burke
>> JBoss, a division of Red Hat
>> http://bill.burkecentral.com
>>
>


-- 
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com