An encapsulation of the payload container in an
A Payload Container contains an ebXML MIME header as well as application payload, as illustrated in the following diagram:
- Content-type: application/xml
Line 1-2: ebXML MIME headers. Line 4-7: Application payload
This class encapsulates the structure of payload container in an ebXML message.
Get the content length of this payload. Note that the content length returned will be -1 if this container is not created from AttachmentDataSource. Also, the length returned does not take Content-Transfer-Encoding into account, if any.
Returns: content length of this payload