public class DomainPostmaster extends Object implements RemotePartContainingRecipient
| Constructor and Description |
|---|
DomainPostmaster(Mailbox mailbox) |
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
getMailbox() |
boolean |
isDomainPostmaster() |
boolean |
isGlobalPostmaster() |
boolean |
isPostmaster() |
LocalPart |
localPart() |
String |
sourceRouteStripped() |
String |
toString()
Returns the displayable (unescaped) form of the recipient, without source
route.
|
public DomainPostmaster(Mailbox mailbox)
public Mailbox getMailbox()
getMailbox in interface RemotePartContainingRecipientpublic boolean isDomainPostmaster()
isDomainPostmaster in interface Recipientpublic boolean isGlobalPostmaster()
isGlobalPostmaster in interface Recipientpublic boolean isPostmaster()
isPostmaster in interface Recipientpublic String sourceRouteStripped()
sourceRouteStripped in interface Recipient