Class ValidateHandler

  • All Implemented Interfaces:
    EPPEventHandler

    public class ValidateHandler
    extends EPPValidateHandler
    The ValidateHandler class extends EPPValidateHandler to include handling the validate check command.
    • Constructor Detail

      • ValidateHandler

        public ValidateHandler()
        Constructs an instance of ValidateHandler
    • Method Detail

      • preHandleEvent

        protected void preHandleEvent​(EPPEvent aEvent,
                                      java.lang.Object aData)
                               throws EPPHandleEventException
        Will ensure that the namestore extension is provided.
        Overrides:
        preHandleEvent in class EPPValidateHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPDomainHandler This is assumed to be an instance of SessionData here.
        Throws:
        EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
      • doValidateCheck

        protected EPPEventResponse doValidateCheck​(EPPEvent aEvent,
                                                   java.lang.Object aData)
        Override base handler doValidateCheck method and add handling of the Allocation Token Extension.
        Specified by:
        doValidateCheck in class EPPValidateHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPDomaindHandler
        Returns:
        EPPEventResponse The response that should be sent back to the client.