-
1. Re: CXF - JaxRS support's JAXRSInInterceptor's behaviour for providers
dsingh Sep 25, 2012 7:35 AM (in response to dsingh)Is this the wrong place to ask this question? If thats true, can some-one please direct me to the correct forum?
-
2. Re: CXF - JaxRS support's JAXRSInInterceptor's behaviour for providers
ffang Sep 26, 2012 3:47 AM (in response to dsingh)Hi,
Sorry for the late reply.
In theory, yeah, the RequestHandler can change any thing from messsage, including the acceptTypes, just using code like
message.put(Message.ACCEPT_CONTENT_TYPE, acceptTypes);
However, in practice I don't think it's reasonable or someone really wanna reset the acceptTypes in RequestHandler
Btw, the latest code already remove this acceptTypes re-check again and again in RequestHandler invocation loop.
Freeman
-
3. Re: CXF - JaxRS support's JAXRSInInterceptor's behaviour for providers
dsingh Sep 26, 2012 6:28 AM (in response to dsingh)Thanks Ffang, I am looking at the 2.6.2 code, are you talking abt an un-released version here.
-
4. Re: CXF - JaxRS support's JAXRSInInterceptor's behaviour for providers
ffang Sep 26, 2012 6:38 AM (in response to dsingh)Hi,
Yeah, it's only in trunk now, this change was made about 2 weeks ago and would be in Services Framework 2.7.x.
Freeman
-
5. Re: CXF - JaxRS support's JAXRSInInterceptor's behaviour for providers
dsingh Sep 26, 2012 6:43 AM (in response to ffang)I changed the code a bit and was about to submit a fix for that, may be it wont be needed anymore.
Just one more query, is there an online location where I can browse the this latest trunk, or checkout is the only way to get the trunk?
-
6. Re: CXF - JaxRS support's JAXRSInInterceptor's behaviour for providers
ffang Sep 26, 2012 6:51 AM (in response to dsingh)Hi,
Not sure if you can browse src code in FuseSource code base, but you can browser it from apache side[1]
https://svn.apache.org/repos/asf/cxf/trunk/
Freeman
-
7. Re: CXF - JaxRS support's JAXRSInInterceptor's behaviour for providers
dsingh Oct 4, 2012 9:25 AM (in response to ffang)Thanks for the pointer Freeman.