@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()
SmtpResponsecode 在接口中 SmtpResponsepublic java.util.List<java.lang.CharSequence> details()
SmtpResponsedetails 在接口中 SmtpResponsepublic int hashCode()
hashCode 在类中 java.lang.Objectpublic boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Object