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