Class MultipartBody
- java.lang.Object
-
- org.apache.cxf.jaxrs.ext.multipart.MultipartBody
-
public class MultipartBody extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
INBOUND_MESSAGE_ATTACHMENTS
static String
OUTBOUND_MESSAGE_ATTACHMENTS
-
Constructor Summary
Constructors Constructor Description MultipartBody(boolean outbound)
MultipartBody(List<Attachment> atts)
MultipartBody(List<Attachment> atts, boolean outbound)
MultipartBody(List<Attachment> atts, javax.ws.rs.core.MediaType mt, boolean outbound)
MultipartBody(Attachment att)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Attachment>
getAllAttachments()
Attachment
getAttachment(String contentId)
<T> T
getAttachmentObject(String contentId, Class<T> cls)
List<Attachment>
getChildAttachments()
Attachment
getRootAttachment()
javax.ws.rs.core.MediaType
getType()
-
-
-
Field Detail
-
INBOUND_MESSAGE_ATTACHMENTS
public static final String INBOUND_MESSAGE_ATTACHMENTS
- See Also:
- Constant Field Values
-
OUTBOUND_MESSAGE_ATTACHMENTS
public static final String OUTBOUND_MESSAGE_ATTACHMENTS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MultipartBody
public MultipartBody(Attachment att)
-
MultipartBody
public MultipartBody(List<Attachment> atts)
-
MultipartBody
public MultipartBody(List<Attachment> atts, boolean outbound)
-
MultipartBody
public MultipartBody(boolean outbound)
-
MultipartBody
public MultipartBody(List<Attachment> atts, javax.ws.rs.core.MediaType mt, boolean outbound)
-
-
Method Detail
-
getType
public javax.ws.rs.core.MediaType getType()
-
getAllAttachments
public List<Attachment> getAllAttachments()
-
getChildAttachments
public List<Attachment> getChildAttachments()
-
getRootAttachment
public Attachment getRootAttachment()
-
getAttachment
public Attachment getAttachment(String contentId)
-
-