Class DefaultSmtpResponse
java.lang.Object
io.netty.handler.codec.smtp.DefaultSmtpResponse
- All Implemented Interfaces:
SmtpResponse
Default
SmtpResponse implementation.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSmtpResponse(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. -
Method Summary
-
Constructor Details
-
DefaultSmtpResponse
public DefaultSmtpResponse(int code) Creates a new instance with the given smtp code and no details. -
DefaultSmtpResponse
Creates a new instance with the given smtp code and details.
-
-
Method Details
-
code
public int code()Description copied from interface:SmtpResponseReturns the response code.- Specified by:
codein interfaceSmtpResponse
-
details
Description copied from interface:SmtpResponseReturns the details if any.- Specified by:
detailsin interfaceSmtpResponse
-
hashCode
-
equals
-
toString
-