Package com.verisign.epp.serverstub
Class OrgHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPOrgHandler
-
- com.verisign.epp.serverstub.OrgHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class OrgHandler extends EPPOrgHandler
TheOrgHandlerclass extendsEPPOrgHandlerto include handling the Org Mapping commands.
-
-
Constructor Summary
Constructors Constructor Description OrgHandler()Constructs an instance of IdnMapDomainHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponsedoOrgCheck(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoOrgCheckmethod and add handling of the Org Check Command.protected EPPEventResponsedoOrgCreate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoOrgCreatemethod and add handling of the Org Create Command.protected EPPEventResponsedoOrgDelete(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoOrgDeletemethod and add handling of the Org Delete Command.protected EPPEventResponsedoOrgInfo(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoOrgInfomethod and add handling of the Org Info Command.protected EPPEventResponsedoOrgUpdate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoOrgUpdatemethod and add handling of the Org Update Command.protected voidpreHandleEvent(EPPEvent aEvent, java.lang.Object aData)Do any pre-handling of commands.-
Methods inherited from class com.verisign.epp.framework.EPPOrgHandler
getNamespace, handleEvent, postHandleEvent
-
-
-
-
Method Detail
-
preHandleEvent
protected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
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
protected EPPEventResponse doOrgCheck(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doOrgInfo(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doOrgCreate(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doOrgDelete(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doOrgUpdate(EPPEvent aEvent, java.lang.Object aData)
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.
-
-