[jax-rs-spec users] [jsr339-experts] Re: Re: Interceptor Invocation and CDI

From: Santiago Pericas-Geertsen <>
Date: Mon, 29 Oct 2012 10:50:22 -0400

On Oct 28, 2012, at 3:37 PM, Jan Algermissen <> wrote:

> On Oct 24, 2012, at 6:30 PM, Santiago Pericas-Geertsen <> wrote:
>> (ii) Interceptors are wrapping and can access the entity in marshalled and unmarshalled forms
> Actually, I don't understand this. What do you mean by 'has access to marshalled forms'?
> I'd say that a writer intercaptor, like a response filter, can only hook an output stream filter into the output stream.

 Given that interceptors are wrapping, it should in general be possible for a writer interceptor to use a byte stream to access the marshalled form of the entity during the unwrapping phase. Shouldn't it?

-- Santiago