Class OrgExtDomainHandler

  • All Implemented Interfaces:
    EPPEventHandler

    public class OrgExtDomainHandler
    extends DomainHandler
    The OrgExtDomainHandler class extends DomainHandler to include handling the Org Extension.
    • Constructor Detail

      • OrgExtDomainHandler

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

      • preHandleEvent

        protected void preHandleEvent​(EPPEvent aEvent,
                                      java.lang.Object aData)
                               throws EPPHandleEventException
        Ensure that there is an active session.
        Overrides:
        preHandleEvent in class DomainHandler
        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
      • doDomainInfo

        protected EPPEventResponse doDomainInfo​(EPPEvent aEvent,
                                                java.lang.Object aData)
        Override base handler doDomainInfo method and add handling of the Org Extension.
        Overrides:
        doDomainInfo in class DomainHandler
        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.
      • doDomainCreate

        protected EPPEventResponse doDomainCreate​(EPPEvent aEvent,
                                                  java.lang.Object aData)
        Override base handler doDomainCreate method and add handling of the Org Extension.
        Overrides:
        doDomainCreate in class DomainHandler
        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.
      • doDomainUpdate

        protected EPPEventResponse doDomainUpdate​(EPPEvent aEvent,
                                                  java.lang.Object aData)
        Override base handler doDomainUpdate method and add handling of the Org Extension.
        Overrides:
        doDomainUpdate in class DomainHandler
        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.