Package com.google.appengine.api.mail
Class MailService.Header
java.lang.Object
com.google.appengine.api.mail.MailService.Header
- Enclosing interface:
- MailService
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Header
Headers are an optional part of messages, but if present, all information about them must be provided.- Parameters:
name
- The name of the header. It must be present and allowed.value
- The value of the header. It must be present, and it's content cannot be of zero length.- Throws:
IllegalArgumentException
- if either name or data are missing.
-
-
Method Details
-
getName
Gets the name of this header.- Returns:
- The name of this header.
-
getValue
Gets the value of this header.- Returns:
- The value of this header.
-