|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.http.client.attachments.RecordAttachments
public class RecordAttachments
Use this class to provide attachments from a Record to the RestClient for a
POST request.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.smila.http.client.Attachments |
|---|
MIMETYPE_ATTACHMENT |
| Constructor Summary | |
|---|---|
RecordAttachments(Record record)
Create instance from a Record. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,ContentBody> |
getAttachmentParts()
Get attachments parts to add to a multipart request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordAttachments(Record record)
record - record with attachments.
AttachmentException - if the attachment content cannot be accessed.| Method Detail |
|---|
public java.util.Map<java.lang.String,ContentBody> getAttachmentParts()
Attachments
getAttachmentParts in interface Attachments
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||