@UnstableApi public final class DefaultSmtpRequest extends java.lang.Object implements SmtpRequest
SmtpRequest implementation.| 构造器和说明 |
|---|
DefaultSmtpRequest(java.lang.CharSequence command,
java.lang.CharSequence... parameters)
Creates a new instance with the given command and parameters.
|
DefaultSmtpRequest(SmtpCommand command)
Creates a new instance with the given command and no parameters.
|
DefaultSmtpRequest(SmtpCommand command,
java.lang.CharSequence... parameters)
Creates a new instance with the given command and parameters.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SmtpCommand |
command()
Returns the
SmtpCommand that belongs to the request. |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.util.List<java.lang.CharSequence> |
parameters()
Returns a
List which holds all the parameters of a request, which may be an empty list. |
java.lang.String |
toString() |
public DefaultSmtpRequest(SmtpCommand command)
public DefaultSmtpRequest(SmtpCommand command, java.lang.CharSequence... parameters)
public DefaultSmtpRequest(java.lang.CharSequence command,
java.lang.CharSequence... parameters)
public SmtpCommand command()
SmtpRequestSmtpCommand that belongs to the request.command 在接口中 SmtpRequestpublic java.util.List<java.lang.CharSequence> parameters()
SmtpRequestList which holds all the parameters of a request, which may be an empty list.parameters 在接口中 SmtpRequestpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Object