Package com.verisign.epp.serverstub
Class OrgHandler
java.lang.Object
com.verisign.epp.framework.EPPOrgHandler
com.verisign.epp.serverstub.OrgHandler
- All Implemented Interfaces:
EPPEventHandler
The
OrgHandler class extends EPPOrgHandler to
include handling the Org Mapping commands.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoOrgCheck(EPPEvent aEvent, Object aData) Override base handlerdoOrgCheckmethod and add handling of the Org Check Command.protected EPPEventResponsedoOrgCreate(EPPEvent aEvent, Object aData) Override base handlerdoOrgCreatemethod and add handling of the Org Create Command.protected EPPEventResponsedoOrgDelete(EPPEvent aEvent, Object aData) Override base handlerdoOrgDeletemethod and add handling of the Org Delete Command.protected EPPEventResponseOverride base handlerdoOrgInfomethod and add handling of the Org Info Command.protected EPPEventResponsedoOrgUpdate(EPPEvent aEvent, Object aData) Override base handlerdoOrgUpdatemethod and add handling of the Org Update Command.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Do any pre-handling of commands.Methods inherited from class com.verisign.epp.framework.EPPOrgHandler
getNamespace, handleEvent, postHandleEvent
-
Constructor Details
-
OrgHandler
public OrgHandler()Constructs an instance of IdnMapDomainHandler
-
-
Method Details
-
preHandleEvent
Do any pre-handling of commands.- Overrides:
preHandleEventin classEPPOrgHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisOrgHandlerThis is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doOrgCheck
Override base handlerdoOrgCheckmethod and add handling of the Org Check Command.- Specified by:
doOrgCheckin classEPPOrgHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisOrgHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doOrgInfo
Override base handlerdoOrgInfomethod and add handling of the Org Info Command.- Specified by:
doOrgInfoin classEPPOrgHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisOrgHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doOrgCreate
Override base handlerdoOrgCreatemethod and add handling of the Org Create Command.- Specified by:
doOrgCreatein classEPPOrgHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisOrgHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doOrgDelete
Override base handlerdoOrgDeletemethod and add handling of the Org Delete Command.- Specified by:
doOrgDeletein classEPPOrgHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisOrgHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-
doOrgUpdate
Override base handlerdoOrgUpdatemethod and add handling of the Org Update Command.- Specified by:
doOrgUpdatein classEPPOrgHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisOrgHandler- Returns:
- EPPEventResponse The response that should be sent back to the client.
-