@UnstableApi public final class DefaultSmtpRequest extends Object implements SmtpRequest
SmtpRequest
implementation.Constructor and Description |
---|
DefaultSmtpRequest(CharSequence command,
CharSequence... parameters)
Creates a new instance with the given command and parameters.
|
DefaultSmtpRequest(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.
|
Modifier and Type | Method and Description |
---|---|
SmtpCommand |
command()
Returns the
SmtpCommand that belongs to the request. |
boolean |
equals(Object o) |
int |
hashCode() |
List<CharSequence> |
parameters()
Returns a
List which holds all the parameters of a request, which may be an empty list. |
String |
toString() |
public DefaultSmtpRequest(SmtpCommand command)
public DefaultSmtpRequest(SmtpCommand command, CharSequence... parameters)
public DefaultSmtpRequest(CharSequence command, CharSequence... parameters)
public SmtpCommand command()
SmtpRequest
SmtpCommand
that belongs to the request.command
in interface SmtpRequest
public List<CharSequence> parameters()
SmtpRequest
List
which holds all the parameters of a request, which may be an empty list.parameters
in interface SmtpRequest
Copyright © 2008–2017 The Netty Project. All rights reserved.