public interface MessageEnvelope
| Modifier and Type | Method and Description |
|---|---|
void |
ensureRecipientsCategorizedByDomain(Collection<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.
|
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.
|
String |
serializeMessage()
Serializes the wrapped message to a raw string representation.
|
String serializeMessage()
NHINDAgent getAgent()
Message getMessage()
NHINDAddress getSender()
NHINDAddressCollection getRecipients()
boolean hasRecipients()
NHINDAddressCollection getRejectedRecipients()
boolean hasRejectedRecipients()
NHINDAddressCollection getDomainRecipients()
boolean hasDomainRecipients()
Collection<NHINDAddress> getOtherRecipients()
boolean hasOtherRecipients()
void ensureRecipientsCategorizedByDomain(Collection<String> domains)
Copyright © 2010-2016 NHIN Direct. All Rights Reserved.