NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-25
class Attachment
class Attachment
This class represents a MIME attachment. Attachments must be created and deleted
using the AttachmentManager class.
Class
class Attachment
{
friend class AttachmentManager;
Public
getContentId() const
Gets the contentId.
setContent(const string & content)
Sets the content.
const string & getContent() const
Gets the content as a string.
setContentTransferEncoding(const string & encoding)
Sets the Content Transfer Encoding
The default value is "8bit".
getContentTransferEncoding() const
Gets the Content Transfer Encoding.
setType(const string & type)
Sets the type of the attachment.
The default value is "text/xml".
getType() const
Gets the type of the attachment.