Interface IMultipartBody
public interface IMultipartBody
This interface abstracts the IBM API for MultipartBody operations.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieve all IAttachment in the IMultipartBody implementation object.getAttachment(String contentId) Retrieve IAttachment in the IMultipartBody implementation object according to the contentId.Retrieve all child IAttachment in the IMultipartBody implementation object.Retrieve the root IAttachment in the IMultipartBody implementation object.javax.ws.rs.core.MediaTypegetType()Retrieve MediaType for the IMultipartBody implementation object.
- 
Method Details- 
getTypejavax.ws.rs.core.MediaType getType()Retrieve MediaType for the IMultipartBody implementation object.- Returns:
- MediaType for the IMultipartBody implementation object.
 
- 
getAllAttachmentsList<IAttachment> getAllAttachments()Retrieve all IAttachment in the IMultipartBody implementation object.- Returns:
- List of all IAttachment in the IMultipartBody implementation object.
 
- 
getChildAttachmentsList<IAttachment> getChildAttachments()Retrieve all child IAttachment in the IMultipartBody implementation object.- Returns:
- List of all child IAttachment in the IMultipartBody implementation object.
 
- 
getRootAttachmentIAttachment getRootAttachment()Retrieve the root IAttachment in the IMultipartBody implementation object.- Returns:
- the root IAttachment in the IMultipartBody implementation object.
 
- 
getAttachmentRetrieve IAttachment in the IMultipartBody implementation object according to the contentId.- Parameters:
- content- -id value in header
- Returns:
- the IAttachment in the IMultipartBody implementation object according to the contentId.
 
 
-