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:
1 2 3 4 5 6 7 8
Content-ID: Content-type: application/xml <PurchaseOrder> <Product>...</Product> ... </PurchaseOrder> <!--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