Class MaintenanceHandler

  • All Implemented Interfaces:
    EPPEventHandler

    public class MaintenanceHandler
    extends EPPMaintenanceHandler
    The MaintenanceHandler class extends EPPMaintenanceHandler to include handling the Maintenance Mapping commands.
    • Constructor Detail

      • MaintenanceHandler

        public MaintenanceHandler()
        Constructs an instance of IdnMapDomainHandler
    • Method Detail

      • preHandleEvent

        protected void preHandleEvent​(EPPEvent aEvent,
                                      java.lang.Object aData)
                               throws EPPHandleEventException
        Do any pre-handling of commands.
        Overrides:
        preHandleEvent in class EPPMaintenanceHandler
        Parameters:
        aEvent - The EPPEvent that is being handled
        aData - Any data that a Server needs to send to this MaintenanceHandler This is assumed to be an instance of SessionData here.
        Throws:
        EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
      • doMaintenanceInfo

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