Package com.verisign.epp.serverstub
Class RZDomainHandler
java.lang.Object
com.verisign.epp.framework.EPPDomainHandler
com.verisign.epp.serverstub.DomainHandler
com.verisign.epp.serverstub.RZDomainHandler
- All Implemented Interfaces:
EPPEventHandler
The
RZDomainHandler class is a concrete implementation of the
abstract com.verisign.epp.framework.EPPDomainHandler class for the Root Zone. It
defines the Server's response to all received EPP Domain Commands.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoDomainCreate(EPPEvent aEvent, Object aData) Invoked when a Domain command is received in the RZMS.protected EPPEventResponsedoDomainDelete(EPPEvent aEvent, Object aData) Invoked when a Domain command is received in the RZMS.protected EPPEventResponsedoDomainRenew(EPPEvent aEvent, Object aData) Handle a renew command by returning an error, since the Root Zone does not support the domain renew command.protected EPPEventResponsedoDomainTransfer(EPPEvent aEvent, Object aData) Handle a transfer command by returning an error, since the Root Zone does not support the domain transfer command.protected EPPEventResponsedoDomainUpdate(EPPEvent aEvent, Object aData) Invoked when a Domain command is received in the RZMS.protected voidpreHandleEvent(EPPEvent aEvent, 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.serverstub.DomainHandler
doDomainCheck, doDomainInfo, postHandleEventMethods inherited from class com.verisign.epp.framework.EPPDomainHandler
getNamespace, handleEvent
-
Constructor Details
-
RZDomainHandler
public RZDomainHandler()
-
-
Method Details
-
preHandleEvent
Handles any common behavior that all Domain commands need to execute before they execute their command specific behavior.- Overrides:
preHandleEventin classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisEPPDomainHandlerThis is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doDomainCreate
Invoked when a Domain command is received in the RZMS. A Change Action is constructed from the incoming message and passed to the server to be associated with the specified Change Request.- Overrides:
doDomainCreatein classDomainHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a Domain command is received in the RZMS. A Change Action is constructed from the incoming message and passed to the server to be associated with the specified Change Request.- Overrides:
doDomainDeletein classDomainHandler- Parameters:
aEvent- TheEPPEventthat 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
Invoked when a Domain command is received in the RZMS. A Change Action is constructed from the incoming message and passed to the server to be associated with the specified Change Request.- Overrides:
doDomainUpdatein classDomainHandler- Parameters:
aEvent- TheEPPEventthat 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
Handle a renew command by returning an error, since the Root Zone does not support the domain renew command.- Overrides:
doDomainRenewin classDomainHandler- Parameters:
aEvent- Domain command eventaData- Server session data- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doDomainTransfer
Handle a transfer command by returning an error, since the Root Zone does not support the domain transfer command.- Overrides:
doDomainTransferin classDomainHandler- Parameters:
aEvent- Domain command eventaData- Server session data- Returns:
- EPPEventResponse The response that should be sent back to the client.
-