@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()
SmtpResponse
code
in interface SmtpResponse
public List<CharSequence> details()
SmtpResponse
details
in interface SmtpResponse
Copyright © 2008–2017 The Netty Project. All rights reserved.