cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Log/Replace attachments within interceptor (solved)
Date Thu, 15 Jul 2010 21:09:01 GMT
On Wednesday 14 July 2010 5:11:10 am Thomas Gschwind wrote:
> 
> Only downside DelegatingInputStream has package visibility.  So, I
> currently have added a class to that package (yes, an ugly hack) that
> exposes the function to me.  That seems to work.  Does anybody know whether
> cxf could make the visibility of the DelegatingInputStream public?

Done on trunk.   Will merge to 2.2 shortly.  :-)

Thanks!
Dan



> 
> > At the moment you may want to replace the existing MultipartBody instance
> > with a new one by initializing it with a new collection of Attachments,
> > getting some from the immutable collection and adding some new
> 
> attachcment
> 
> > to the new collection
> 
> Replacing the entire MultipartBody is quite a bit of work.  Generating new
> attachments, copying all the other meta-data, etc.  In this case, I rather
> live with the above hack.
> 
> Thanks,
> Thomas

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message