com.dumbster.smtp

Class SmtpActionType

public class SmtpActionType extends Object

Represents an SMTP action or command.
Field Summary
static SmtpActionTypeBLANK_LINE
Header/body separator action.
static SmtpActionTypeCONNECT
CONNECT action.
static SmtpActionTypeDATA
DATA action.
static SmtpActionTypeDATA_END
"." action.
static SmtpActionTypeEHLO
EHLO action.
static SmtpActionTypeEXPN
Stateless EXPN action.
static SmtpActionTypeHELP
Stateless HELP action.
static SmtpActionTypeMAIL
MAIL action.
static SmtpActionTypeNOOP
Stateless NOOP action.
static SmtpActionTypeQUIT
QUIT action.
static SmtpActionTypeRCPT
RCPT action.
static SmtpActionTypeRSET
Stateless RSET action.
static SmtpActionTypeUNRECOG
Body text action.
static SmtpActionTypeVRFY
Stateless VRFY action.
Method Summary
booleanisStateless()
Indicates whether the action is stateless or not.
StringtoString()
String representation of this SMTP action type.

Field Detail

BLANK_LINE

public static final SmtpActionType BLANK_LINE
Header/body separator action.

CONNECT

public static final SmtpActionType CONNECT
CONNECT action.

DATA

public static final SmtpActionType DATA
DATA action.

DATA_END

public static final SmtpActionType DATA_END
"." action.

EHLO

public static final SmtpActionType EHLO
EHLO action.

EXPN

public static final SmtpActionType EXPN
Stateless EXPN action.

HELP

public static final SmtpActionType HELP
Stateless HELP action.

MAIL

public static final SmtpActionType MAIL
MAIL action.

NOOP

public static final SmtpActionType NOOP
Stateless NOOP action.

QUIT

public static final SmtpActionType QUIT
QUIT action.

RCPT

public static final SmtpActionType RCPT
RCPT action.

RSET

public static final SmtpActionType RSET
Stateless RSET action.

UNRECOG

public static final SmtpActionType UNRECOG
Body text action.

VRFY

public static final SmtpActionType VRFY
Stateless VRFY action.

Method Detail

isStateless

public boolean isStateless()
Indicates whether the action is stateless or not.

Returns: true iff the action is stateless

toString

public String toString()
String representation of this SMTP action type.

Returns: a String