org.apache.cxf.jaxrs.ext.multipart
Class MultipartBody

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.multipart.MultipartBody

public class MultipartBody
extends java.lang.Object


Field Summary
static java.lang.String INBOUND_MESSAGE_ATTACHMENTS
           
static java.lang.String OUTBOUND_MESSAGE_ATTACHMENTS
           
 
Constructor Summary
MultipartBody(boolean outbound)
           
MultipartBody(java.util.List<Attachment> atts)
           
MultipartBody(java.util.List<Attachment> atts, boolean outbound)
           
MultipartBody(java.util.List<Attachment> atts, javax.ws.rs.core.MediaType mt, boolean outbound)
           
 
Method Summary
 java.util.List<Attachment> getAllAttachments()
           
 Attachment getAttachment(java.lang.String contentId)
           
 java.util.List<Attachment> getChildAttachments()
           
 Attachment getRootAttachment()
           
 javax.ws.rs.core.MediaType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INBOUND_MESSAGE_ATTACHMENTS

public static final java.lang.String INBOUND_MESSAGE_ATTACHMENTS
See Also:
Constant Field Values

OUTBOUND_MESSAGE_ATTACHMENTS

public static final java.lang.String OUTBOUND_MESSAGE_ATTACHMENTS
See Also:
Constant Field Values
Constructor Detail

MultipartBody

public MultipartBody(java.util.List<Attachment> atts,
                     javax.ws.rs.core.MediaType mt,
                     boolean outbound)

MultipartBody

public MultipartBody(java.util.List<Attachment> atts,
                     boolean outbound)

MultipartBody

public MultipartBody(java.util.List<Attachment> atts)

MultipartBody

public MultipartBody(boolean outbound)
Method Detail

getType

public javax.ws.rs.core.MediaType getType()

getAllAttachments

public java.util.List<Attachment> getAllAttachments()

getChildAttachments

public java.util.List<Attachment> getChildAttachments()

getRootAttachment

public Attachment getRootAttachment()

getAttachment

public Attachment getAttachment(java.lang.String contentId)


Apache CXF