@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()
SmtpRequestSmtpCommand that belongs to the request.command in interface SmtpRequestpublic List<CharSequence> parameters()
SmtpRequestList which holds all the parameters of a request, which may be an empty list.parameters in interface SmtpRequestCopyright © 2008–2025 The Netty Project. All rights reserved.