Class ContentTypeInfo


  • public class ContentTypeInfo
    extends Object
    Class encapsulating the content type information for a given message.
    • Constructor Detail

      • ContentTypeInfo

        public ContentTypeInfo​(String propertyName,
                               String contentType)
    • Method Detail

      • getPropertyName

        public String getPropertyName()
        Get the name of the message property from which the content type has been extracted.
        Returns:
        the property name or null if the content type was not determined by extracting it from a message property
      • getContentType

        public String getContentType()
        Get the content type of the message.
        Returns:
        The content type of the message. The return value is never null.