cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Content-ID and Content-Location in CXF
Date Wed, 22 Jul 2009 18:27:20 GMT

It would probably be:
att.getHeader("Content-Location");
but you may need to loop through the getHeaderNames() to find out the case of 
the header.   It might be "content-location" or similar.

Dan


On Mon July 20 2009 9:48:40 am Kid_79 wrote:
> Hi all,
> I have this question in cxf attachment (org.apache.cxf.message.Attachment);
> when I use an org.apache.cxf.message.Attachment object, I get Content-ID by
> getId()
> Content-ID => getId()
> it's right?
>
> While I don't know how I get a Content-Location.
> ContentLocation => ???
>
> Thanks

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

Mime
View raw message