com.dumbster.smtp
Class SmtpActionType

java.lang.Object
  extended by com.dumbster.smtp.SmtpActionType

public class SmtpActionType
extends java.lang.Object

Represents an SMTP action or command.


Field Summary
static SmtpActionType BLANK_LINE
          Header/body separator action.
static SmtpActionType CONNECT
          CONNECT action.
static SmtpActionType DATA
          DATA action.
static SmtpActionType DATA_END
          "." action.
static SmtpActionType EHLO
          EHLO action.
static SmtpActionType EXPN
          Stateless EXPN action.
static SmtpActionType HELP
          Stateless HELP action.
static SmtpActionType MAIL
          MAIL action.
static SmtpActionType NOOP
          Stateless NOOP action.
static SmtpActionType QUIT
          QUIT action.
static SmtpActionType RCPT
          RCPT action.
static SmtpActionType RSET
          Stateless RSET action.
static SmtpActionType UNRECOG
          Body text action.
static SmtpActionType VRFY
          Stateless VRFY action.
 
Method Summary
 boolean isStateless()
          Indicates whether the action is stateless or not.
 java.lang.String toString()
          String representation of this SMTP action type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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:
toString in class java.lang.Object
Returns:
a String