users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Fwd: [Resteasy-users] PostProcessInterceptors not invoked for responses created by ExceptionMappers

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Tue, 14 Aug 2012 15:42:19 +0200

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
>
>