On 14/08/12 20:57, Bill Burke wrote:
> Apologies,
>
> Do we filter after ExceptionMapper?
>
IMHO the Response should be filtered irrespectively of how it was
produced, by mappers or by application code
Cheers, Sergey
> On 8/14/2012 9:42 AM, Marek Potociar wrote:
>> Not sure what I mean. Method interceptors are off-scope for this release.
>>
>> Marek
>>
>> On Aug 14, 2012, at 12:16 AM, Bill Burke <bburke_at_redhat.com> wrote:
>>
>>> Something we'll have to define.
>>>
>>>
>>> -------- Original Message --------
>>> Subject: [Resteasy-users] PostProcessInterceptors not invoked for
>>> responses created by ExceptionMappers
>>> Date: Mon, 13 Aug 2012 15:14:31 -0500
>>> From: Allen Gilbert <allen.gilbert_at_doane.edu>
>>> To: resteasy-users_at_lists.sourceforge.net
>>>
>>>
>>>
>>> I have a PostProcessInterceptor that I'd like to be invoked for every
>>> response, but I've discovered that if one of my ExceptionMappers creates
>>> a response, the PostProcessInterceptor is not invoked. I did some
>>> searching and found someone else who ran into the same problem:
>>> https://community.jboss.org/thread/201677
>>>
>>> As far as I know, the current JAX-RS spec doesn't speak to this, as it
>>> doesn't define interceptors. Is this interaction between
>>> ExceptionMappers and PostProcessInterceptors working as designed, or can
>>> RESTEasy be updated to invoke PostProcessInterceptors for
>>> ExceptionMapper responses?
>>>
>>> Thanks!
>>>
>>> -Allen
>>>
>>> --
>>> Bill Burke
>>> JBoss, a division of Red Hat
>>> http://bill.burkecentral.com
>>>
>>>
>>
>