Class ValidateHandler
java.lang.Object
com.verisign.epp.framework.validate.v02.EPPValidateHandler
com.verisign.epp.serverstub.validate.v02.ValidateHandler
- All Implemented Interfaces:
EPPEventHandler
The
ValidateHandler class extends
EPPValidateHandler to include handling the validate check
command.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoValidateCheck(EPPEvent aEvent, Object aData) Override base handlerdoValidateCheckmethod and add handling of the Allocation Token Extension.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Will ensure that the namestore extension is provided.Methods inherited from class com.verisign.epp.framework.validate.v02.EPPValidateHandler
getNamespace, handleEvent, postHandleEvent
-
Constructor Details
-
ValidateHandler
public ValidateHandler()Constructs an instance of ValidateHandler
-
-
Method Details
-
preHandleEvent
Will ensure that the namestore extension is provided.- Overrides:
preHandleEventin classEPPValidateHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPDomainHandlerThis is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doValidateCheck
Override base handlerdoValidateCheckmethod and add handling of the Allocation Token Extension.- Specified by:
doValidateCheckin classEPPValidateHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPDomaindHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-