Class RZDomainHandler

All Implemented Interfaces:
EPPEventHandler

public class RZDomainHandler extends DomainHandler
The RZDomainHandler class is a concrete implementation of the abstract com.verisign.epp.framework.EPPDomainHandler class for the Root Zone. It defines the Server's response to all received EPP Domain Commands.
See Also:
  • Constructor Details

    • RZDomainHandler

      public RZDomainHandler()
  • Method Details

    • preHandleEvent

      protected void preHandleEvent(EPPEvent aEvent, Object aData) throws EPPHandleEventException
      Handles any common behavior that all Domain commands need to execute before they execute their command specific behavior.
      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
    • doDomainCreate

      protected EPPEventResponse doDomainCreate(EPPEvent aEvent, Object aData)
      Invoked when a Domain command is received in the RZMS. A Change Action is constructed from the incoming message and passed to the server to be associated with the specified Change Request.
      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.
    • doDomainDelete

      protected EPPEventResponse doDomainDelete(EPPEvent aEvent, Object aData)
      Invoked when a Domain command is received in the RZMS. A Change Action is constructed from the incoming message and passed to the server to be associated with the specified Change Request.
      Overrides:
      doDomainDelete 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, Object aData)
      Invoked when a Domain command is received in the RZMS. A Change Action is constructed from the incoming message and passed to the server to be associated with the specified Change Request.
      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.
    • doDomainRenew

      protected EPPEventResponse doDomainRenew(EPPEvent aEvent, Object aData)
      Handle a renew command by returning an error, since the Root Zone does not support the domain renew command.
      Overrides:
      doDomainRenew in class DomainHandler
      Parameters:
      aEvent - Domain command event
      aData - Server session data
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doDomainTransfer

      protected EPPEventResponse doDomainTransfer(EPPEvent aEvent, Object aData)
      Handle a transfer command by returning an error, since the Root Zone does not support the domain transfer command.
      Overrides:
      doDomainTransfer in class DomainHandler
      Parameters:
      aEvent - Domain command event
      aData - Server session data
      Returns:
      EPPEventResponse The response that should be sent back to the client.