## 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
    --- | ---
    `Enumeration<Header>` | IMAPMessage.`getAllHeaders()` Get all headers.
    `Enumeration<Header>` | IMAPBodyPart.`getAllHeaders()`
    `Enumeration<Header>` | IMAPMessage.`getMatchingHeaders(String[] names)` Get matching headers.
    `Enumeration<Header>` | IMAPBodyPart.`getMatchingHeaders(String[] names)`
    `Enumeration<Header>` | IMAPMessage.`getNonMatchingHeaders(String[] names)` Get non-matching headers.
    `Enumeration<Header>` | IMAPBodyPart.`getNonMatchingHeaders(String[] names)`

  - ### 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
    --- | ---
    `Enumeration<Header>` | POP3Message.`getAllHeaders()` Return all the headers from this Message as an enumeration of Header objects.
    `Enumeration<Header>` | POP3Message.`getMatchingHeaders(String[] names)` Return matching headers from this Message as an Enumeration of Header objects.
    `Enumeration<Header>` | POP3Message.`getNonMatchingHeaders(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 © 2016 Oracle. All rights reserved.