cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Groll <>
Subject Re: REST problem: unmarshalling JAXB from multipart attachment
Date Tue, 07 Sep 2010 14:11:33 GMT
Hi Sergey,

you wrote (2010-09-03T16:22:08+0100):

> Just spotted this email, thought I'd update that I added the other day
> getObject(Class<T> cls) to Attachment and getAttachmentObject(String
> partName, Class<T> cls) to MultipartBody, the latter method can be
> handy in that one does not need to worry about the ordering of
> individual parts as long as one knows the required part's id

Very nice! I have avoided the problem by rethinking the design of my
webservice, which is now much cleaner whithout any need for multiparts.
But I bet the new methods will come in handy for me or somebody else in
the future.


View raw message