jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Need clarification on Section 6.7

From: Bill Burke <bburke_at_redhat.com>
Date: Thu, 31 Jan 2013 19:37:31 -0500

On 1/31/2013 11:57 AM, Marek Potociar wrote:
> start request processing
> store G1 response filters and interceptors into the request context
> try {
> invoke pre-matching request filters
> match request
> if (request matched) {
> store G2 response filters and interceptors into the request context
> invoke global and bound post-matching request filters
> invoke resource method
> }
> invoke all response filters stored to the request context
> } catch (Exception ex) {
> try {
> map exception to response
> invoke all response filters stored to the request context
> } catch (Exception ex) {
> propagate exception to the hosting container
> }
> }
> exit request processing
>

That clarifies a lot. Thanks.

Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com