@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()
返回命令名称。
|
java.lang.String |
toString() |
static SmtpCommand |
valueOf(java.lang.CharSequence commandName)
返回给定命令名称的 SmtpCommand 。
|
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
。
public AsciiString name()
public int hashCode()
hashCode
在课堂上
java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在课堂
java.lang.Object
public java.lang.String toString()
toString
在课堂上
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.