Eoghan Glynn-4 wrote: > > However the HTTPConduit does cache the current connection in the > HTTPConduit.KEY_HTTP_CONNECTION > property (i.e. "http.connection") property on the message object, so you > could experiment by writing an interceptor that retrieves the value of > this > property and manipulates the connection directly. >
Is this the kind of thing you mean? http://pastebin.com/yxkwULAK It seems to work so far but I need to test it a bit more thoroughly to make sure it's not doing anything completely unexpected. I'd appreciate any feedback about whether it's attached to the right phase (PRE_STREAM) too, as I'm not too familiar with interceptors. Thanks, Andrew. -- View this message in context: http://old.nabble.com/How-to-get-HttpURLConnection-of-Dispatch-client-tp27834705p27838542.html Sent from the cxf-user mailing list archive at Nabble.com.
