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 RemotePartContainingRecipient
public boolean isDomainPostmaster()
isDomainPostmaster
in interface Recipient
public boolean isGlobalPostmaster()
isGlobalPostmaster
in interface Recipient
public boolean isPostmaster()
isPostmaster
in interface Recipient
public String sourceRouteStripped()
sourceRouteStripped
in interface Recipient