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
TheDefRegHandlerclass is a concrete implementation of the abstractcom.verisign.epp.framework.EPPDefRegHandlerclass. 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 EPPEventResponsedoDefRegCheck(EPPEvent aEvent, java.lang.Object aData)Invoked when a EPPDefReg Check command is received.protected EPPEventResponsedoDefRegCreate(EPPEvent aEvent, java.lang.Object aData)Invoked when a EPPDefReg Create command is received.protected EPPEventResponsedoDefRegDelete(EPPEvent aEvent, java.lang.Object aData)Invoked when a EPPDefReg Delete command is received.protected EPPEventResponsedoDefRegInfo(EPPEvent aEvent, java.lang.Object aData)Invoked when a EPPDefReg Info command is received.protected EPPEventResponsedoDefRegRenew(EPPEvent aEvent, java.lang.Object aData)Invoked when a EPPDefReg Renew command is received.protected EPPEventResponsedoDefRegTransfer(EPPEvent aEvent, java.lang.Object aData)Invoked when a EPPDefReg Transfer command is received.protected EPPEventResponsedoDefRegUpdate(EPPEvent aEvent, java.lang.Object aData)Invoked when a EPPDefReg Update command is received.protected voidpostHandleEvent(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 voidpreHandleEvent(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:
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
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:
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
protected EPPEventResponse doDefRegCheck(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDefRegRenew(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDefRegDelete(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDefRegCreate(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDefRegTransfer(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDefRegUpdate(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDefRegInfo(EPPEvent aEvent, java.lang.Object aData)
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.
-
-