Interface Headers

  • All Known Implementing Classes:
    Message

    public interface Headers
    • Method Detail

      • getFields

        List<String> getFields()
        Gets the fields of this header. The returned list will not be modifiable.
        Returns:
        the list of Field objects.
      • getFields

        List<String> getFields​(String name)
        Gets all Fields having the specified field name in a case insensitive way.
        Parameters:
        name - the field name (e.g. From, Subject).
        Returns:
        the list of fields.