Application Integration (On-Premises) : Integration Server Built-In Services : MIME Folder : pub.mime:getPrimaryContentType
pub.mime:getPrimaryContentType
WmPublic. Returns the top-level portion of a MIME object's Content-Type value.
Input Parameters
mimeData
Document MIME object whose Content-Type you want to discover. (This IData object is produced by pub.mime:createMimeData.)
Output Parameters
primContentType
String Message's top-level Content-Type. For example, if the message's Content-Type header were:
Content-Type: multipart/mixed
primContentType would contain:
multipart
Usage Notes
This service operates on the MIME object (mimeData) produced by pub.mime:createMimeData.
For general information about MIME messages and using the MIME services, see the MIME-S/MIME Developer’s Guide.
See Also
pub.mime:createMimeData
pub.mime:getContentType
pub.mime:addMimeHeader
pub.mime:getBodyPartHeader
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback