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