|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageEnvelope
A wrapper around a MimeMessage that categorizes routing headers such as trusted and non trusted recipients.
| Method Summary | |
|---|---|
void |
ensureRecipientsCategorizedByDomain(java.util.Collection<java.lang.String> domains)
|
NHINDAgent |
getAgent()
Gets the agent associated with the message. |
NHINDAddressCollection |
getDomainRecipients()
Gets a list of recipients in the message that are part of the agent's domain. |
Message |
getMessage()
Gets the mime message wrapped in the envelope. |
java.util.Collection<NHINDAddress> |
getOtherRecipients()
Gets a list of recipients in the message that are not part of the agent's domain. |
NHINDAddressCollection |
getRecipients()
The collection of message recipients. |
NHINDAddressCollection |
getRejectedRecipients()
Gets a list of recipients in the message that are not trusted by the address. |
NHINDAddress |
getSender()
Gets the sender of the message. |
boolean |
hasDomainRecipients()
Indicates if the message has recipients that are in the agent's domain. |
boolean |
hasOtherRecipients()
Indicates if the message has recipients that are not in the agent's domain. |
boolean |
hasRecipients()
Indicates if the message has any recipients. |
boolean |
hasRejectedRecipients()
Indicates if the message has recipients that are not trusted by the address. |
java.lang.String |
serializeMessage()
Serializes the wrapped message to a raw string representation. |
| Method Detail |
|---|
java.lang.String serializeMessage()
NHINDAgent getAgent()
Message getMessage()
NHINDAddress getSender()
NHINDAddressCollection getRecipients()
boolean hasRecipients()
NHINDAddressCollection getRejectedRecipients()
boolean hasRejectedRecipients()
NHINDAddressCollection getDomainRecipients()
boolean hasDomainRecipients()
java.util.Collection<NHINDAddress> getOtherRecipients()
boolean hasOtherRecipients()
void ensureRecipientsCategorizedByDomain(java.util.Collection<java.lang.String> domains)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||