[jax-rs-spec users] [jsr339-experts] Can Reader or Writer interceptors affect the selection of MBR or MBW

From: Sergey Beryozkin <>
Date: Mon, 9 Sep 2013 13:06:03 +0100

Hi All,

One thing which was agreed earlier was that ReaderInterceptor or
WriterInterceptor are run only after a relevant MBR or MBW has been

Given this fact, can Reader or Writer interceptor effectively 'lose' the
initial MBR or MBW they wrap by updating the class of the entity, etc ?

For example, I'm seeing a number of early TCK tests where a provider say
for List has been selected, the readers wrapping this List provider are
invoked, the entity class is changed to LinkedList and thus the
initially wrapped List MBR is expected to be ignored and a new
LinkedList MBR invoked.

Thanks, Sergey