Class SecureAuthInfoContactHandler

  • All Implemented Interfaces:
    EPPEventHandler

    public class SecureAuthInfoContactHandler
    extends EPPContactHandler
    The ContactHandler class is a concrete implementation of the abstract com.verisign.epp.framework.EPPContactHandler class. It defines the Server's response to all received EPP Host Commands.

    See Also:
    EPPEvent, EPPEventResponse
    • Constructor Detail

      • SecureAuthInfoContactHandler

        public SecureAuthInfoContactHandler()
        Constructs an instance of ContactHandler
    • Method Detail

      • preHandleEvent

        protected void preHandleEvent​(EPPEvent aEvent,
                                      java.lang.Object aData)
                               throws EPPHandleEventException
        Handles any common behavior that all Contact commands need to execute before they execute their command specific behavior.
        Overrides:
        preHandleEvent in class EPPContactHandler
        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
      • postHandleEvent

        protected void postHandleEvent​(EPPEvent aEvent,
                                       java.lang.Object aData)
                                throws EPPHandleEventException
        Handles any common behavior that all Contact commands need to execute after they execute their command specific behavior.
        Overrides:
        postHandleEvent in class EPPContactHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this EPPDomainHandler
        Throws:
        EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
      • doContactDelete

        public EPPEventResponse doContactDelete​(EPPEvent aEvent,
                                                java.lang.Object aData)
        Invoked when a Contact Delete command is received.
        Specified by:
        doContactDelete in class EPPContactHandler
        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.
      • doContactCreate

        public EPPEventResponse doContactCreate​(EPPEvent aEvent,
                                                java.lang.Object aData)
        Invoked when a Contact Create command is received.
        Specified by:
        doContactCreate in class EPPContactHandler
        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.
      • doContactUpdate

        public EPPEventResponse doContactUpdate​(EPPEvent aEvent,
                                                java.lang.Object aData)
        Invoked when a Contact Update command is received.
        Specified by:
        doContactUpdate in class EPPContactHandler
        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.
      • doContactInfo

        public EPPEventResponse doContactInfo​(EPPEvent aEvent,
                                              java.lang.Object aData)
        Invoked when a Contact Info command is received.
        Specified by:
        doContactInfo in class EPPContactHandler
        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.
      • doContactTransfer

        public EPPEventResponse doContactTransfer​(EPPEvent aEvent,
                                                  java.lang.Object aData)
        Invoked when a Contact Transfer command is received.
        Specified by:
        doContactTransfer in class EPPContactHandler
        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.
      • doContactCheck

        public EPPEventResponse doContactCheck​(EPPEvent aEvent,
                                               java.lang.Object aData)
        Invoked when a Contact Check command is received.
        Specified by:
        doContactCheck in class EPPContactHandler
        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.