@UnstableApi public final class DefaultSmtpResponse extends java.lang.Object implements SmtpResponse
SmtpResponse
implementation.构造器和说明 |
---|
DefaultSmtpResponse(int code)
Creates a new instance with the given smtp code and no details.
|
DefaultSmtpResponse(int code,
java.lang.CharSequence... details)
Creates a new instance with the given smtp code and details.
|
限定符和类型 | 方法和说明 |
---|---|
int |
code()
Returns the response code.
|
java.util.List<java.lang.CharSequence> |
details()
Returns the details if any.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public DefaultSmtpResponse(int code)
public DefaultSmtpResponse(int code, java.lang.CharSequence... details)
public int code()
SmtpResponse
code
在接口中 SmtpResponse
public java.util.List<java.lang.CharSequence> details()
SmtpResponse
details
在接口中 SmtpResponse
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