public class RCPTHandler extends Object implements Validatable
| Constructor and Description |
|---|
RCPTHandler(String fullCmd,
MAILHandler mailHandler)
Creates an instance of the RCPTHandler
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAddress(String fullCmd)
Adds an email address
|
String |
getRecipient()
Gets the recipient this is going to
|
String |
getResponse()
Gets the response of the handler
|
Validatable |
validateOrNullify()
Validates the RCPT handler or nullifies it
|
public RCPTHandler(String fullCmd, MAILHandler mailHandler)
fullCmd - The full line of the RCPT commandmailHandler - The current MAILHandlerpublic void addAddress(String fullCmd)
fullCmd - The full RCPT commandpublic String getRecipient()
public String getResponse()
getResponse in interface Validatablepublic Validatable validateOrNullify()
validateOrNullify in interface ValidatableCopyright © 2019. All rights reserved.