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

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

From: Jan Algermissen <jan.algermissen_at_nordsc.com>
Date: Sun, 28 Oct 2012 20:37:57 +0100

On Oct 24, 2012, at 6:30 PM, Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com> 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.

The interceptor never sees the stream and thus has no access to the marshalled form either.

Or am I misunderstanding you.

Jan