public class MultipartBody extends Object
Modifier and Type | Field and Description |
---|---|
static String |
INBOUND_MESSAGE_ATTACHMENTS |
static String |
OUTBOUND_MESSAGE_ATTACHMENTS |
Constructor and Description |
---|
MultipartBody(Attachment att) |
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) |
Modifier and Type | Method and 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() |
public static final String INBOUND_MESSAGE_ATTACHMENTS
public static final String OUTBOUND_MESSAGE_ATTACHMENTS
public MultipartBody(Attachment att)
public MultipartBody(List<Attachment> atts)
public MultipartBody(List<Attachment> atts, boolean outbound)
public MultipartBody(boolean outbound)
public MultipartBody(List<Attachment> atts, javax.ws.rs.core.MediaType mt, boolean outbound)
public javax.ws.rs.core.MediaType getType()
public List<Attachment> getAllAttachments()
public List<Attachment> getChildAttachments()
public Attachment getRootAttachment()
public Attachment getAttachment(String contentId)
Apache CXF