On 7/23/12 12:11 PM, Marek Potociar wrote:
Let me have a look. Have you file a Jira issue yet? :) If yes, what's
On Jul 11, 2012, at 4:28 PM, Bill Burke wrote:
I think we need something in ContainerResponseFilter to distinguish
that an exception was thrown from application code (and maybe
internally as well). Came across a user case recently that wanted to
know that a failure occured and what exact exception.
I suggest at minimum, 2 methods on ContainerResponseContext (better
names maybe?). Probably similar methods on WriterInterceptor.
Don't know, but maybe also a new method on ContainerResponseFilter
void failure(ContainerRequestContext requestContext,
failure should be called after any ExceptionMapper, but before
The main reason for this is name-bound filters and interceptors might
want to make a different decision based on a user failure.
JBoss, a division of Red Hat
[jsr339-experts] Re: [jax-rs-spec users] response filtering and exceptions