Hi Eamonn

Perhaps you can do the same way the (out) logging interceptor does it ? Can
it capture the outbound message on the client side ?

> connection.getResponseCode()

I thought your latest patch has fixed it ?

thanks, Sergey


Eamonn Dwyer-2 wrote:
> 
> 
> Hi
> is there a way of getting the exact stream of data sent by a JaxRS client
> to the service. As far as I can make out the JaxRS client populates the
> HttpURLConnection directly with the data and the call to
> connection.getResponseCode() results in the HttpURLConnection marshalling
> up the data and sending it on the wire. I don't see how I can get a hook
> to get the raw data.
> 
> The issue doesn't seem to be the affect the response because in that case
> the JaxRSOutInterceptor comes into play and it writes the data to the
> CacheAndWriteOutputStream first.
> 
> Thanks in advance
> Eamonn
> 
> _________________________________________________________________
> What can you do with the new Windows Live? Find out
> http://www.microsoft.com/windows/windowslive/default.aspx
> 

-- 
View this message in context: 
http://www.nabble.com/Capturing-the-JaxRS-outbound-request-data-tp24848337p24863892.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Reply via email to