On 3/4/11 9:51 AM, Guilherme Silveira wrote:
> Hi Bill,
>
>> - Pre-process before matching
>> - Around MessageBodyReader
>> - Around MessageBodyWriter
>> - After method was called before marshalling (not sure if we ever had a
>> usecase for this)
> Are those methods defined within the Interceptor interface or
> different interceptor interfaces?
>
Different as you need JAX-RS specific information: headers, stream,
annotations, etc... I don't think the Interceptor interface allows for
method injection of dependencies so I don't think it will work.
Bill
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com