@UnstableApi
public final class SmtpCommand
extends java.lang.Object
SmtpRequest
.Modifier and Type | Field and Description |
---|---|
static SmtpCommand |
DATA |
static SmtpCommand |
EHLO |
static SmtpCommand |
EXPN |
static SmtpCommand |
HELO |
static SmtpCommand |
HELP |
static SmtpCommand |
MAIL |
static SmtpCommand |
NOOP |
static SmtpCommand |
QUIT |
static SmtpCommand |
RCPT |
static SmtpCommand |
RSET |
static SmtpCommand |
VRFY |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
AsciiString |
name()
Return the command name.
|
java.lang.String |
toString() |
static SmtpCommand |
valueOf(java.lang.CharSequence commandName)
Returns the
SmtpCommand for the given command name. |
public static final SmtpCommand EHLO
public static final SmtpCommand HELO
public static final SmtpCommand MAIL
public static final SmtpCommand RCPT
public static final SmtpCommand DATA
public static final SmtpCommand NOOP
public static final SmtpCommand RSET
public static final SmtpCommand EXPN
public static final SmtpCommand VRFY
public static final SmtpCommand HELP
public static final SmtpCommand QUIT
public static SmtpCommand valueOf(java.lang.CharSequence commandName)
SmtpCommand
for the given command name.public AsciiString name()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2008–2019 The Netty Project. All rights reserved.