Home > Class Reference > ENSLIB namespace > %Net.MIMESerialPart

%Net.MIMESerialPart

serial class %Net.MIMESerialPart extends %Net.MIMEPart, %Library.SerialObject, %XML.Adaptor

A serializable subclass of %Net.MIMEPart

Properties

property Body as %Stream.GlobalBinary;
The body of the attachment as a stream. Either Parts must contain MIMEParts or Body must be specified, but not both.
Property methods: BodyDelete(), BodyGet(), BodyGetObject(), BodyGetObjectId(), BodyGetSwizzled(), BodyIsValid(), BodyNewObject(), BodyOid(), BodyOpen(), BodySet(), BodySetObject(), BodySetObjectId(), BodyUnSwizzle()

Methods

method BodySet(body As %CSP.BinaryStream = "") as %Status
Set the body of the attachment to a stream. If the stream contains a Headers attribute, this attribute is used to initialize the headers of the MIME part. The %CSP.BinaryStream that is returned by the CSP engine is an example of such a stream with Headers attribute.
classmethod CloneFromMIMEPart(pPart As %Net.MIMEPart) as %Net.MIMESerialPart
Clonesa regular %Net.MIMEPart into a serializable %Net.MIMESerialPart

Inherited Methods

%AddToSaveSet() %ObjectIsNull() ContentTransferEncodingGet()
%AddToSyncSet() %ObjectModified() ContentTransferEncodingSet()
%ClassIsLatestVersion() %OnBeforeAddToSync() ContentTypeGet()
%ClassName() %OnDetermineClass() ContentTypeSet()
%ConstructClone() %OnNew() GetContentTypeAttribute()
%Delete() %Open() GetHeader()
%DeleteId() %OpenId() LogicalToOdbc()
%DispatchClassMethod() %OriginalNamespace() NextHeader()
%DispatchGetModified() %PackageName() NormalizeContentId()
%DispatchGetProperty() %RemoveFromSaveSet() NormalizeContentLocation()
%DispatchMethod() %ResolveConcurrencyConflict() OdbcToLogical()
%DispatchSetModified() %SerializeObject() RemoveHeader()
%DispatchSetMultidimProperty() %SetModified() SetHeader()
%DispatchSetProperty() %SyncObjectIn() XMLDTD()
%Extends() %SyncTransport() XMLExport()
%GetParameter() %ValidateObject() XMLExportToStream()
%GetSwizzleObject() BoundaryGet() XMLExportToString()
%IsA() ClearHeaders() XMLNew()
%IsModified() ContentCharsetGet() XMLSchema()
%IsNull() ContentCharsetSet() XMLSchemaNamespace()
%New() ContentIdSet() XMLSchemaType()
%NormalizeObject() ContentLocationSet()