public class EHLOHandler extends Object implements Validatable
| Constructor and Description |
|---|
EHLOHandler(String fullEHLO)
Creates a new instance of the EHLOHandler
|
EHLOHandler(String fullEHLO,
boolean secure)
Creates a new instance of the EHLO command that allows secure if secure is true
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResponse()
Gets the response to send to client
|
Validatable |
validateOrNullify()
Validates the handler or nullifies the handler
|
public EHLOHandler(String fullEHLO)
fullEHLO - The full line of the EHLO commandpublic EHLOHandler(String fullEHLO, boolean secure)
fullEHLO - The full EHLO commandsecure - Whether to allow secure connections or notpublic String getResponse()
getResponse in interface Validatablepublic Validatable validateOrNullify()
validateOrNullify in interface ValidatableCopyright © 2019. All rights reserved.