Interface Content

  • All Implemented Interfaces:

    
    public interface Content
    
                        

    Abstract base interface for message content.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ContentType type() Returns the type of content.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • type

         abstract ContentType type()

        Returns the type of content.

        Can be used to cast the content to the correct type.

        Returns:

        The type of content.