Class NullReversePath

  • All Implemented Interfaces:
    ReversePath

    public class NullReversePath
    extends Object
    implements ReversePath
    NullReversePath corresponds to the empty adress in the SMTP MAIL command. It means that no bounce messages should be sent, because the current message itself is a bounce message.
    • Constructor Summary

      Constructors 
      Constructor Description
      NullReversePath()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • NullReversePath

        public NullReversePath()
    • 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
      • 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