@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()
SmtpRequest
SmtpCommand
that belongs to the request.command
在接口中 SmtpRequest
public java.util.List<java.lang.CharSequence> parameters()
SmtpRequest
List
which holds all the parameters of a request, which may be an empty list.parameters
在接口中 SmtpRequest
public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object