Package com.verisign.epp.serverstub
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
TheEmailFwdHandler
class is a concrete implementation of the abstractcom.verisign.epp.framework.EPPEPPEmailFwdHandler
class. It defines the Server's response to all received EPP EmailFwd Commands.- See Also:
EPPEvent
,EPPEventResponse
-
-
Constructor Summary
Constructors Constructor Description EmailFwdHandler()
Constructs an instance of EPPEmailFwdHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponse
doEmailFwdCheck(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Check command is received.protected EPPEventResponse
doEmailFwdCreate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Create command is received.protected EPPEventResponse
doEmailFwdDelete(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Delete command is received.protected EPPEventResponse
doEmailFwdInfo(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Info command is received.protected EPPEventResponse
doEmailFwdRenew(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Renew command is received.protected EPPEventResponse
doEmailFwdTransfer(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Transfer command is received.protected EPPEventResponse
doEmailFwdUpdate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Update command is received.protected void
postHandleEvent(EPPEvent aEvent, java.lang.Object aData)
Handles any common behavior that all EPPEmailFwd commands need to execute after they execute their command specific behavior.protected void
preHandleEvent(EPPEvent aEvent, java.lang.Object aData)
Handles any common behavior that all EPPEmailFwd commands need to execute before they execute their command specific behavior.-
Methods inherited from class com.verisign.epp.framework.EPPEmailFwdHandler
getNamespace, handleEvent
-
-
-
-
Method Detail
-
preHandleEvent
protected void preHandleEvent(EPPEvent aEvent, java.lang.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 classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwdHandler
This is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException
- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
postHandleEvent
protected void postHandleEvent(EPPEvent aEvent, java.lang.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 classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwdHandler
- Throws:
EPPHandleEventException
- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doEmailFwdCheck
protected EPPEventResponse doEmailFwdCheck(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Check command is received.- Specified by:
doEmailFwdCheck
in classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwddHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doEmailFwdRenew
protected EPPEventResponse doEmailFwdRenew(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Renew command is received.- Specified by:
doEmailFwdRenew
in classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwddHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doEmailFwdDelete
protected EPPEventResponse doEmailFwdDelete(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Delete command is received.- Specified by:
doEmailFwdDelete
in classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwddHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doEmailFwdCreate
protected EPPEventResponse doEmailFwdCreate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Create command is received.- Specified by:
doEmailFwdCreate
in classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwddHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doEmailFwdTransfer
protected EPPEventResponse doEmailFwdTransfer(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Transfer command is received.- Specified by:
doEmailFwdTransfer
in classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwddHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doEmailFwdUpdate
protected EPPEventResponse doEmailFwdUpdate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Update command is received.- Specified by:
doEmailFwdUpdate
in classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwddHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doEmailFwdInfo
protected EPPEventResponse doEmailFwdInfo(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPEmailFwd Info command is received.- Specified by:
doEmailFwdInfo
in classEPPEmailFwdHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPEmailFwddHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
-