Re: [Resteasy-users] Running ContainerWriteFilter *after* WriterInterceptor?

2014-06-09 Thread Bill Burke
On 6/7/2014 5:51 PM, Heiko W.Rupp wrote: > Hey Bill, > > thanks for your reply. > > Am 07.06.2014 um 22:08 schrieb Bill Burke : > >> Unfortunately, the JAX-RS TCK expects that the MBW is not matched until >> after the WriterInterceptor is invoked. We used to match prior to > > What a c$%@! > >>

Re: [Resteasy-users] Running ContainerWriteFilter *after* WriterInterceptor?

2014-06-07 Thread Heiko W.Rupp
Hey Bill, thanks for your reply. Am 07.06.2014 um 22:08 schrieb Bill Burke : > Unfortunately, the JAX-RS TCK expects that the MBW is not matched until > after the WriterInterceptor is invoked. We used to match prior to What a c$%@! > invoking the interceptor chain... Which makes so much s

Re: [Resteasy-users] Running ContainerWriteFilter *after* WriterInterceptor?

2014-06-07 Thread Bill Burke
Unfortunately, the JAX-RS TCK expects that the MBW is not matched until after the WriterInterceptor is invoked. We used to match prior to invoking the interceptor chain... So, you have 2 options: 1. In your WriterInterceptor buffer the json marshalling, change the content header, flush the b