Class Header

java.lang.Object
org.apache.axiom.mime.Header

public final class Header extends Object
A MIME header.
  • Field Details

    • CONTENT_TYPE

      public static final String CONTENT_TYPE
      The name of the Content-Type header.
      See Also:
    • CONTENT_ID

      public static final String CONTENT_ID
      The name of the Content-ID header.
      See Also:
    • CONTENT_TRANSFER_ENCODING

      public static final String CONTENT_TRANSFER_ENCODING
      The name of the Content-Transfer-Encoding header.
      See Also:
  • Constructor Details

    • Header

      public Header(String name, String value)
      Constructor.
      Parameters:
      name - the name of the header
      value - the value of the header
  • Method Details

    • getName

      public String getName()
      Get the name of this header.
      Returns:
      the name of this header
    • getValue

      public String getValue()
      Get the value of this header.
      Returns:
      the value of this header