Package com.verisign.epp.serverstub
Class DefRegHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPDefRegHandler
-
- com.verisign.epp.serverstub.DefRegHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class DefRegHandler extends EPPDefRegHandler
TheDefRegHandler
class is a concrete implementation of the abstractcom.verisign.epp.framework.EPPDefRegHandler
class. It defines the Server's response to all received EPP DefReg Commands.
- See Also:
EPPEvent
,EPPEventResponse
-
-
Constructor Summary
Constructors Constructor Description DefRegHandler()
Constructs an instance of EPPDefRegHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponse
doDefRegCheck(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Check command is received.protected EPPEventResponse
doDefRegCreate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Create command is received.protected EPPEventResponse
doDefRegDelete(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Delete command is received.protected EPPEventResponse
doDefRegInfo(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Info command is received.protected EPPEventResponse
doDefRegRenew(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Renew command is received.protected EPPEventResponse
doDefRegTransfer(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Transfer command is received.protected EPPEventResponse
doDefRegUpdate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Update command is received.protected void
postHandleEvent(EPPEvent aEvent, java.lang.Object aData)
Handles any common behavior that all EPPDefReg 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 EPPDefReg commands need to execute before they execute their command specific behavior.-
Methods inherited from class com.verisign.epp.framework.EPPDefRegHandler
getNamespace, handleEvent
-
-
-
-
Method Detail
-
preHandleEvent
protected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
Handles any common behavior that all EPPDefReg commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEvent
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegHandler
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 EPPDefReg commands need to execute after they execute their command specific behavior.- Overrides:
postHandleEvent
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegHandler
- Throws:
EPPHandleEventException
- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doDefRegCheck
protected EPPEventResponse doDefRegCheck(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Check command is received.- Specified by:
doDefRegCheck
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegdHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doDefRegRenew
protected EPPEventResponse doDefRegRenew(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Renew command is received.- Specified by:
doDefRegRenew
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegdHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doDefRegDelete
protected EPPEventResponse doDefRegDelete(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Delete command is received.- Specified by:
doDefRegDelete
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegdHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doDefRegCreate
protected EPPEventResponse doDefRegCreate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Create command is received.- Specified by:
doDefRegCreate
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegdHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doDefRegTransfer
protected EPPEventResponse doDefRegTransfer(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Transfer command is received.- Specified by:
doDefRegTransfer
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegdHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doDefRegUpdate
protected EPPEventResponse doDefRegUpdate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Update command is received.- Specified by:
doDefRegUpdate
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegdHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doDefRegInfo
protected EPPEventResponse doDefRegInfo(EPPEvent aEvent, java.lang.Object aData)
Invoked when a EPPDefReg Info command is received.- Specified by:
doDefRegInfo
in classEPPDefRegHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPEPPDefRegdHandler
- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
-