Class SmtpCommand
java.lang.Object
io.netty.handler.codec.smtp.SmtpCommand
The command part of a
SmtpRequest.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SmtpCommandprivate static final java.util.Map<java.lang.String, SmtpCommand> static final SmtpCommandstatic final SmtpCommandstatic final SmtpCommandstatic final SmtpCommandstatic final SmtpCommandstatic final SmtpCommandstatic final SmtpCommandprivate final AsciiStringstatic final SmtpCommandstatic final SmtpCommandstatic final SmtpCommandstatic final SmtpCommandstatic final SmtpCommand -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidbooleanequals(java.lang.Object obj) inthashCode()(package private) booleanname()Return the command name.java.lang.StringtoString()static SmtpCommandvalueOf(java.lang.CharSequence commandName) Returns theSmtpCommandfor the given command name.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
EHLO
-
HELO
-
AUTH
-
MAIL
-
RCPT
-
DATA
-
NOOP
-
RSET
-
EXPN
-
VRFY
-
HELP
-
QUIT
-
EMPTY
-
COMMANDS
-
name
-
-
Constructor Details
-
SmtpCommand
-
-
Method Details
-
valueOf
Returns theSmtpCommandfor the given command name. -
name
Return the command name. -
encode
-
isContentExpected
boolean isContentExpected() -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-