public class MAILHandler extends Object implements Validatable
| Constructor and Description |
|---|
MAILHandler(String fullCmd,
Validatable ehloHandler)
Creates a new instance of MailHandler
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResponse()
Gets the response to send to the client
|
String |
getSender()
Gets the sender
|
Validatable |
validateOrNullify()
Validates or nullifies the MAILHandler
|
public MAILHandler(String fullCmd, Validatable ehloHandler)
fullCmd - The full line of the commandehloHandler - The current EHLOHandlerpublic String getResponse()
getResponse in interface Validatablepublic String getSender()
public Validatable validateOrNullify()
validateOrNullify in interface ValidatableCopyright © 2019. All rights reserved.