Package io.netty.handler.codec.smtp
Class DefaultSmtpRequest
java.lang.Object
io.netty.handler.codec.smtp.DefaultSmtpRequest
- All Implemented Interfaces:
SmtpRequest
Default
SmtpRequest
implementation.-
Field Summary
Fields -
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
(SmtpCommand command, List<CharSequence> parameters) DefaultSmtpRequest
(CharSequence command, CharSequence... parameters) Creates a new instance with the given command and parameters. -
Method Summary
Modifier and TypeMethodDescriptioncommand()
Returns theSmtpCommand
that belongs to the request.boolean
int
hashCode()
Returns aList
which holds all the parameters of a request, which may be an empty list.toString()
-
Field Details
-
command
-
parameters
-
-
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. -
DefaultSmtpRequest
DefaultSmtpRequest(SmtpCommand command, List<CharSequence> parameters)
-
-
Method Details
-
command
Description copied from interface:SmtpRequest
Returns theSmtpCommand
that belongs to the request.- Specified by:
command
in interfaceSmtpRequest
-
parameters
Description copied from interface:SmtpRequest
Returns aList
which holds all the parameters of a request, which may be an empty list.- Specified by:
parameters
in interfaceSmtpRequest
-
hashCode
public int hashCode() -
equals
-
toString
-