Package io.netty.handler.codec.smtp
Class SmtpCommand
- java.lang.Object
-
- io.netty.handler.codec.smtp.SmtpCommand
-
@UnstableApi public final class SmtpCommand extends Object
The command part of aSmtpRequest.
-
-
Field Summary
Fields Modifier and Type Field Description static SmtpCommandAUTHstatic SmtpCommandDATAstatic SmtpCommandEHLOstatic SmtpCommandEMPTYstatic SmtpCommandEXPNstatic SmtpCommandHELOstatic SmtpCommandHELPstatic SmtpCommandMAILstatic SmtpCommandNOOPstatic SmtpCommandQUITstatic SmtpCommandRCPTstatic SmtpCommandRSETstatic SmtpCommandVRFY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()io.netty.util.AsciiStringname()Return the command name.StringtoString()static SmtpCommandvalueOf(CharSequence commandName)Returns theSmtpCommandfor the given command name.
-
-
-
Field Detail
-
EHLO
public static final SmtpCommand EHLO
-
HELO
public static final SmtpCommand HELO
-
AUTH
public static final SmtpCommand AUTH
-
MAIL
public static final SmtpCommand MAIL
-
RCPT
public static final SmtpCommand RCPT
-
DATA
public static final SmtpCommand DATA
-
NOOP
public static final SmtpCommand NOOP
-
RSET
public static final SmtpCommand RSET
-
EXPN
public static final SmtpCommand EXPN
-
VRFY
public static final SmtpCommand VRFY
-
HELP
public static final SmtpCommand HELP
-
QUIT
public static final SmtpCommand QUIT
-
EMPTY
public static final SmtpCommand EMPTY
-
-
Method Detail
-
valueOf
public static SmtpCommand valueOf(CharSequence commandName)
Returns theSmtpCommandfor the given command name.
-
name
public io.netty.util.AsciiString name()
Return the command name.
-
-