Package mireka.address
Class NullReversePath
- Object
-
- mireka.address.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 StringgetSmtpText()Returns the raw reverse path text, as it was supplied in the SMTP transaction, without the angle brackets.booleanisNull()StringtoString()Returns the displayable form of the reverse path.
-
-
-
Method Detail
-
isNull
public boolean isNull()
- Specified by:
isNullin interfaceReversePath
-
getSmtpText
public String getSmtpText()
Description copied from interface:ReversePathReturns the raw reverse path text, as it was supplied in the SMTP transaction, without the angle brackets.- Specified by:
getSmtpTextin interfaceReversePath
-
toString
public String toString()
Description copied from interface:ReversePathReturns the displayable form of the reverse path.- Specified by:
toStringin interfaceReversePath- Overrides:
toStringin classObject
-
-