Package com.dumbster.smtp
Class SmtpActionType
- java.lang.Object
-
- com.dumbster.smtp.SmtpActionType
-
public class SmtpActionType extends java.lang.ObjectRepresents an SMTP action or command.
-
-
Field Summary
Fields Modifier and Type Field Description static SmtpActionTypeBLANK_LINEHeader/body separator action.static SmtpActionTypeCONNECTCONNECT action.static SmtpActionTypeDATADATA action.static SmtpActionTypeDATA_END"." action.static SmtpActionTypeEHLOEHLO action.static SmtpActionTypeEXPNStateless EXPN action.static SmtpActionTypeHELPStateless HELP action.static SmtpActionTypeMAILMAIL action.static SmtpActionTypeNOOPStateless NOOP action.static SmtpActionTypeQUITQUIT action.static SmtpActionTypeRCPTRCPT action.static SmtpActionTypeRSETStateless RSET action.static SmtpActionTypeUNRECOGBody text action.static SmtpActionTypeVRFYStateless VRFY action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisStateless()Indicates whether the action is stateless or not.java.lang.StringtoString()String representation of this SMTP action type.
-
-
-
Field Detail
-
CONNECT
public static final SmtpActionType CONNECT
CONNECT action.
-
EHLO
public static final SmtpActionType EHLO
EHLO action.
-
MAIL
public static final SmtpActionType MAIL
MAIL action.
-
RCPT
public static final SmtpActionType RCPT
RCPT action.
-
DATA
public static final SmtpActionType DATA
DATA action.
-
DATA_END
public static final SmtpActionType DATA_END
"." action.
-
UNRECOG
public static final SmtpActionType UNRECOG
Body text action.
-
QUIT
public static final SmtpActionType QUIT
QUIT action.
-
BLANK_LINE
public static final SmtpActionType BLANK_LINE
Header/body separator action.
-
RSET
public static final SmtpActionType RSET
Stateless RSET action.
-
VRFY
public static final SmtpActionType VRFY
Stateless VRFY action.
-
EXPN
public static final SmtpActionType EXPN
Stateless EXPN action.
-
HELP
public static final SmtpActionType HELP
Stateless HELP action.
-
NOOP
public static final SmtpActionType NOOP
Stateless NOOP action.
-
-
Method Detail
-
isStateless
public boolean isStateless()
Indicates whether the action is stateless or not.- Returns:
- true iff the action is stateless
-
toString
public java.lang.String toString()
String representation of this SMTP action type.- Overrides:
toStringin classjava.lang.Object- Returns:
- a String
-
-