Class MessageWithMetadata


  • public class MessageWithMetadata
    extends Object
    An abstraction for a message containing a content type along with its data.
    • Constructor Detail

      • MessageWithMetadata

        public MessageWithMetadata()
    • Method Detail

      • getBodyAsBinaryData

        public BinaryData getBodyAsBinaryData()
        Gets the message body.
        Returns:
        The message body.
      • getContentType

        public String getContentType()
        Gets the content type.
        Returns:
        The content type.