Package javax.mail
Class Header
java.lang.Object
javax.mail.Header
- Direct Known Subclasses:
InternetHeaders.InternetHeader
The Header class stores a name/value pair to represent headers.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
name
The name of the header.- Since:
- JavaMail 1.4
-
value
The value of the header.- Since:
- JavaMail 1.4
-
-
Constructor Details
-
Header
Construct a Header object.- Parameters:
name
- name of the headervalue
- value of the header
-
-
Method Details
-
getName
Returns the name of this header.- Returns:
- name of the header
-
getValue
Returns the value of this header.- Returns:
- value of the header
-