users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Accessing request in WriterInterceptor.aroundWriteTo() ?

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 07 Nov 2012 21:52:25 -0500

On 11/7/2012 6:45 PM, Jan Algermissen wrote:
>
> On Nov 8, 2012, at 12:39 AM, Bill Burke <bburke_at_redhat.com> wrote:
>
>> Or an injection of ContainerRequestContext?
>>
>> @Context
>> ContainerRequestContext rctx;
>
> Yes, that would be even better - but wouldn't that have to be an instance local to aroundWriteTo?
>

thread local proxies for these types of field injections.

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