@UnstableApi public final class DefaultSmtpResponse extends Object implements SmtpResponse
SmtpResponse implementation.| Constructor and Description |
|---|
DefaultSmtpResponse(int code)
Creates a new instance with the given smtp code and no details.
|
DefaultSmtpResponse(int code,
CharSequence... details)
Creates a new instance with the given smtp code and details.
|
| Modifier and Type | Method and Description |
|---|---|
int |
code()
Returns the response code.
|
List<CharSequence> |
details()
Returns the details if any.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public DefaultSmtpResponse(int code)
public DefaultSmtpResponse(int code,
CharSequence... details)
public int code()
SmtpResponsecode in interface SmtpResponsepublic List<CharSequence> details()
SmtpResponsedetails in interface SmtpResponseCopyright © 2008–2025 The Netty Project. All rights reserved.