Uses of Class javax.mail.Header (JavaMail API documentation)
Date: 2016-12-03

## Uses of Class
javax.mail.Header

- Packages that use Header
  Package | Description
  --- | ---
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
  com.sun.mail.pop3 | A POP3 protocol provider for the JavaMail API that provides access to a POP3 message store.
  javax.mail.internet | Classes specific to Internet mail systems.

- - ### Uses of Header in com.sun.mail.imap

    Methods in com.sun.mail.imap that return types with arguments of type Header
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Enumeration<Header>` | IMAPMessage.`getAllHeaders()` Get all headers.
    `java.util.Enumeration<Header>` | IMAPMessage.`getMatchingHeaders(java.lang.String[] names)` Get matching headers.
    `java.util.Enumeration<Header>` | IMAPMessage.`getNonMatchingHeaders(java.lang.String[] names)` Get non-matching headers.

  - ### Uses of Header in com.sun.mail.pop3

    Methods in com.sun.mail.pop3 that return types with arguments of type Header
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Enumeration<Header>` | POP3Message.`getAllHeaders()` Return all the headers from this Message as an enumeration of Header objects.
    `java.util.Enumeration<Header>` | POP3Message.`getMatchingHeaders(java.lang.String[] names)` Return matching headers from this Message as an Enumeration of Header objects.
    `java.util.Enumeration<Header>` | POP3Message.`getNonMatchingHeaders(java.lang.String[] names)` Return non-matching headers from this Message as an Enumeration of Header objects.

  - ### Uses of Header in javax.mail.internet

    Subclasses of Header in javax.mail.internet
    Modifier and Type | Class and Description
    --- | ---
    `protected static class` | `InternetHeaders.InternetHeader` An individual internet header.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.