Interface IMultipartBody
-
public interface IMultipartBodyThis interface abstracts the IBM API for MultipartBody operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IAttachment>getAllAttachments()Retrieve all IAttachment in the IMultipartBody implementation object.IAttachmentgetAttachment(java.lang.String contentId)Retrieve IAttachment in the IMultipartBody implementation object according to the contentId.java.util.List<IAttachment>getChildAttachments()Retrieve all child IAttachment in the IMultipartBody implementation object.IAttachmentgetRootAttachment()Retrieve the root IAttachment in the IMultipartBody implementation object.javax.ws.rs.core.MediaTypegetType()Retrieve MediaType for the IMultipartBody implementation object.
-
-
-
Method Detail
-
getType
javax.ws.rs.core.MediaType getType()
Retrieve MediaType for the IMultipartBody implementation object.- Returns:
- MediaType for the IMultipartBody implementation object.
-
getAllAttachments
java.util.List<IAttachment> getAllAttachments()
Retrieve all IAttachment in the IMultipartBody implementation object.- Returns:
- List of all IAttachment in the IMultipartBody implementation object.
-
getChildAttachments
java.util.List<IAttachment> getChildAttachments()
Retrieve all child IAttachment in the IMultipartBody implementation object.- Returns:
- List of all child IAttachment in the IMultipartBody implementation object.
-
getRootAttachment
IAttachment getRootAttachment()
Retrieve the root IAttachment in the IMultipartBody implementation object.- Returns:
- the root IAttachment in the IMultipartBody implementation object.
-
getAttachment
IAttachment getAttachment(java.lang.String contentId)
Retrieve 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.
-
-