Class RealReversePath

  • All Implemented Interfaces:
    ReversePath

    public class RealReversePath
    extends Object
    implements ReversePath
    RealReversePath is a non-null reverse path, supplied in the SMTP MAIL command.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Mailbox getMailbox()  
      String getSmtpText()
      Returns the raw reverse path text, as it was supplied in the SMTP transaction, without the angle brackets.
      boolean isNull()  
      String toString()
      Returns the displayable form of the reverse path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RealReversePath

        public RealReversePath​(Mailbox mailbox)
    • Method Detail

      • getSmtpText

        public String getSmtpText()
        Description copied from interface: ReversePath
        Returns the raw reverse path text, as it was supplied in the SMTP transaction, without the angle brackets.
        Specified by:
        getSmtpText in interface ReversePath
      • getMailbox

        public Mailbox getMailbox()
      • toString

        public String toString()
        Description copied from interface: ReversePath
        Returns the displayable form of the reverse path.
        Specified by:
        toString in interface ReversePath
        Overrides:
        toString in class Object