Class DefaultSmtpRequest
java.lang.Object
io.netty.handler.codec.smtp.DefaultSmtpRequest
- All Implemented Interfaces:
SmtpRequest
Default
SmtpRequest implementation.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSmtpRequest(SmtpCommand command) Creates a new instance with the given command and no parameters.DefaultSmtpRequest(SmtpCommand command, CharSequence... parameters) Creates a new instance with the given command and parameters.DefaultSmtpRequest(CharSequence command, CharSequence... parameters) Creates a new instance with the given command and parameters. -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns theSmtpCommandthat belongs to the request.booleaninthashCode()Returns aListwhich holds all the parameters of a request, which may be an empty list.toString()
-
Constructor Details
-
DefaultSmtpRequest
Creates a new instance with the given command and no parameters. -
DefaultSmtpRequest
Creates a new instance with the given command and parameters. -
DefaultSmtpRequest
Creates a new instance with the given command and parameters.
-
-
Method Details
-
command
Description copied from interface:SmtpRequestReturns theSmtpCommandthat belongs to the request.- Specified by:
commandin interfaceSmtpRequest
-
parameters
Description copied from interface:SmtpRequestReturns aListwhich holds all the parameters of a request, which may be an empty list.- Specified by:
parametersin interfaceSmtpRequest
-
hashCode
-
equals
-
toString
-