[jax-rs-spec users] [jsr339-experts] Re: Why is Reader/WriterInterceptor generic?

From: Bill Burke <>
Date: Wed, 01 Feb 2012 11:07:39 -0500

On 2/1/12 10:38 AM, Santiago Pericas-Geertsen wrote:
> On Feb 1, 2012, at 10:17 AM, Bill Burke wrote:
>> Is the generic type supposed to be used for matching purposes? i.e. if you have
>> ReaderInterceptor<Widget>
>> that interceptor will only be applied to that type?
> No, that was never the intent. I think we've been going back and forth on the use of generics in the interceptors. What is your preference?

I haven't had a use case for it yet.


Bill Burke
JBoss, a division of Red Hat