Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%Net] >  [MIMESerialPart]
Private  Storage   

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

A serializable subclass of %Net.MIMEPart


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2


Body Boundary ContentCharset ContentId
ContentLocation ContentTransferEncoding ContentType PartOwnedStream

%%OIDGet %AddToSaveSet %AddToSyncSet %BindExport
%BuildObjectGraph %ClassIsLatestVersion %ClassName %Close
%ConstructClone %Delete %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetParameter
%GetSwizzleObject %IncrementCount %IsA %IsModified
%IsNull %JournalObject %New %NormalizeObject
%ObjectIsNull %ObjectModified %OnBeforeAddToSync %OnDetermineClass
%OnNew %Open %OpenId %OriginalNamespace
%PackageName %RemoveFromSaveSet %ResolveConcurrencyConflict %SerializeObject
%SetModified %SyncObjectIn %SyncTransport %ValidateObject
%XMLGenerate BodySet BoundaryGet ClearHeaders
CloneFromMIMEPart ContentCharsetGet ContentCharsetSet ContentIdSet
ContentLocationSet ContentTransferEncodingGet ContentTransferEncodingSet ContentTypeGet
ContentTypeSet GetContentTypeAttribute GetHeader LogicalToOdbc
NextHeader NormalizeContentId NormalizeContentLocation OdbcToLogical
RemoveHeader SetHeader XMLAfterExport XMLBeforeExport
XMLDTD XMLExport XMLExportInternal XMLExportToStream
XMLExportToString XMLGetSchemaImports XMLImport XMLImportInternal
XMLIsObjectEmpty XMLNew XMLSchema XMLSchemaNamespace


• 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.


• 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

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.