public class RecordAttachments extends java.lang.Object implements Attachments
RestClient for a
POST request.MIMETYPE_ATTACHMENT| Constructor and Description |
|---|
RecordAttachments(Record record)
Create instance from a Record.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,ContentBody> |
getAttachmentParts()
Get attachments parts to add to a multipart request.
|
public RecordAttachments(Record record)
record - record with attachments.AttachmentException - if the attachment content cannot be accessed.public java.util.Map<java.lang.String,ContentBody> getAttachmentParts()
AttachmentsgetAttachmentParts in interface Attachments