Class EmailFwdHandler

java.lang.Object
com.verisign.epp.framework.EPPEmailFwdHandler
com.verisign.epp.serverstub.EmailFwdHandler
All Implemented Interfaces:
EPPEventHandler
Direct Known Subclasses:
PersRegEmailFwdHandler

public class EmailFwdHandler extends EPPEmailFwdHandler
The EmailFwdHandler class is a concrete implementation of the abstract com.verisign.epp.framework.EPPEPPEmailFwdHandler class. It defines the Server's response to all received EPP EmailFwd Commands.
See Also:
  • Constructor Details

    • EmailFwdHandler

      public EmailFwdHandler()
      Constructs an instance of EPPEmailFwdHandler
  • Method Details

    • preHandleEvent

      protected void preHandleEvent(EPPEvent aEvent, Object aData) throws EPPHandleEventException
      Handles any common behavior that all EPPEmailFwd commands need to execute before they execute their command specific behavior.
      Overrides:
      preHandleEvent in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwdHandler 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, Object aData) throws EPPHandleEventException
      Handles any common behavior that all EPPEmailFwd commands need to execute after they execute their command specific behavior.
      Overrides:
      postHandleEvent in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwdHandler
      Throws:
      EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
    • doEmailFwdCheck

      protected EPPEventResponse doEmailFwdCheck(EPPEvent aEvent, Object aData)
      Invoked when a EPPEmailFwd Check command is received.
      Specified by:
      doEmailFwdCheck in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwddHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doEmailFwdRenew

      protected EPPEventResponse doEmailFwdRenew(EPPEvent aEvent, Object aData)
      Invoked when a EPPEmailFwd Renew command is received.
      Specified by:
      doEmailFwdRenew in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwddHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doEmailFwdDelete

      protected EPPEventResponse doEmailFwdDelete(EPPEvent aEvent, Object aData)
      Invoked when a EPPEmailFwd Delete command is received.
      Specified by:
      doEmailFwdDelete in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwddHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doEmailFwdCreate

      protected EPPEventResponse doEmailFwdCreate(EPPEvent aEvent, Object aData)
      Invoked when a EPPEmailFwd Create command is received.
      Specified by:
      doEmailFwdCreate in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwddHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doEmailFwdTransfer

      protected EPPEventResponse doEmailFwdTransfer(EPPEvent aEvent, Object aData)
      Invoked when a EPPEmailFwd Transfer command is received.
      Specified by:
      doEmailFwdTransfer in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwddHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doEmailFwdUpdate

      protected EPPEventResponse doEmailFwdUpdate(EPPEvent aEvent, Object aData)
      Invoked when a EPPEmailFwd Update command is received.
      Specified by:
      doEmailFwdUpdate in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwddHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doEmailFwdInfo

      protected EPPEventResponse doEmailFwdInfo(EPPEvent aEvent, Object aData)
      Invoked when a EPPEmailFwd Info command is received.
      Specified by:
      doEmailFwdInfo in class EPPEmailFwdHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPEPPEmailFwddHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.