Package com.verisign.epp.serverstub
Class DefRegHandler
java.lang.Object
com.verisign.epp.framework.EPPDefRegHandler
com.verisign.epp.serverstub.DefRegHandler
- All Implemented Interfaces:
EPPEventHandler
The
DefRegHandler class is a concrete implementation of the
abstract com.verisign.epp.framework.EPPDefRegHandler class. It
defines the Server's response to all received EPP DefReg Commands. - See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoDefRegCheck(EPPEvent aEvent, Object aData) Invoked when a EPPDefReg Check command is received.protected EPPEventResponsedoDefRegCreate(EPPEvent aEvent, Object aData) Invoked when a EPPDefReg Create command is received.protected EPPEventResponsedoDefRegDelete(EPPEvent aEvent, Object aData) Invoked when a EPPDefReg Delete command is received.protected EPPEventResponsedoDefRegInfo(EPPEvent aEvent, Object aData) Invoked when a EPPDefReg Info command is received.protected EPPEventResponsedoDefRegRenew(EPPEvent aEvent, Object aData) Invoked when a EPPDefReg Renew command is received.protected EPPEventResponsedoDefRegTransfer(EPPEvent aEvent, Object aData) Invoked when a EPPDefReg Transfer command is received.protected EPPEventResponsedoDefRegUpdate(EPPEvent aEvent, Object aData) Invoked when a EPPDefReg Update command is received.protected voidpostHandleEvent(EPPEvent aEvent, Object aData) Handles any common behavior that all EPPDefReg commands need to execute after they execute their command specific behavior.protected voidpreHandleEvent(EPPEvent aEvent, 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
-
Constructor Details
-
DefRegHandler
public DefRegHandler()Constructs an instance of EPPDefRegHandler
-
-
Method Details
-
preHandleEvent
Handles any common behavior that all EPPDefReg commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEventin classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPEPPDefRegHandlerThis is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
postHandleEvent
Handles any common behavior that all EPPDefReg commands need to execute after they execute their command specific behavior.- Overrides:
postHandleEventin classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a EPPDefReg Check command is received.- Specified by:
doDefRegCheckin classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a EPPDefReg Renew command is received.- Specified by:
doDefRegRenewin classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a EPPDefReg Delete command is received.- Specified by:
doDefRegDeletein classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a EPPDefReg Create command is received.- Specified by:
doDefRegCreatein classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a EPPDefReg Transfer command is received.- Specified by:
doDefRegTransferin classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a EPPDefReg Update command is received.- Specified by:
doDefRegUpdatein classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a EPPDefReg Info command is received.- Specified by:
doDefRegInfoin classEPPDefRegHandler- Parameters:
aEvent- TheEPPEventthat 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.
-