Class MultipartBody

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

public class MultipartBody extends Object
  • Field Details

  • Constructor Details

    • 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, jakarta.ws.rs.core.MediaType mt, boolean outbound)
  • Method Details

    • getType

      public jakarta.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)
    • getAttachmentObject

      public <T> T getAttachmentObject(String contentId, Class<T> cls)