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
TheOrgHandler
class extendsEPPOrgHandler
to 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 EPPEventResponse
doOrgCheck(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoOrgCheck
method and add handling of the Org Check Command.protected EPPEventResponse
doOrgCreate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoOrgCreate
method and add handling of the Org Create Command.protected EPPEventResponse
doOrgDelete(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoOrgDelete
method and add handling of the Org Delete Command.protected EPPEventResponse
doOrgInfo(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoOrgInfo
method and add handling of the Org Info Command.protected EPPEventResponse
doOrgUpdate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoOrgUpdate
method and add handling of the Org Update Command.protected void
preHandleEvent(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:
preHandleEvent
in classEPPOrgHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisOrgHandler
This 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 handlerdoOrgCheck
method and add handling of the Org Check Command.- Specified by:
doOrgCheck
in classEPPOrgHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoOrgInfo
method and add handling of the Org Info Command.- Specified by:
doOrgInfo
in classEPPOrgHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoOrgCreate
method and add handling of the Org Create Command.- Specified by:
doOrgCreate
in classEPPOrgHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoOrgDelete
method and add handling of the Org Delete Command.- Specified by:
doOrgDelete
in classEPPOrgHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoOrgUpdate
method and add handling of the Org Update Command.- Specified by:
doOrgUpdate
in classEPPOrgHandler
- Parameters:
aEvent
- TheEPPEvent
that 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.
-
-