Package com.verisign.epp.serverstub
Class AllocationTokenDomainHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPDomainHandler
-
- com.verisign.epp.serverstub.DomainHandler
-
- com.verisign.epp.serverstub.AllocationTokenDomainHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class AllocationTokenDomainHandler extends DomainHandler
TheAllocationTokenDomainHandler
class extendsDomainHandler
to include handling the allocation token extension.
-
-
Constructor Summary
Constructors Constructor Description AllocationTokenDomainHandler()
Constructs an instance of AllocationTokenDomainHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponse
doDomainCheck(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainCheck
method and add handling of the Allocation Token Extension.protected EPPEventResponse
doDomainCreate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainCreate
method and add handling of the Allocation Token Extension.protected EPPEventResponse
doDomainInfo(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainInfo
method and add handling of the Allocation Token Info Extension.protected EPPEventResponse
doDomainTransfer(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainTransfer
method and add handling of the Allocation Token Extension.protected EPPEventResponse
doDomainUpdate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainUpdate
method and add handling of the Allocation Token Extension.protected void
preHandleEvent(EPPEvent aEvent, java.lang.Object aData)
Will ensure that the namestore extension is provided.-
Methods inherited from class com.verisign.epp.serverstub.DomainHandler
doDomainDelete, doDomainRenew, postHandleEvent
-
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
Will ensure that the namestore extension is provided.- Overrides:
preHandleEvent
in classDomainHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPDomainHandler
This is assumed to be an instance of SessionData here.- Throws:
EPPHandleEventException
- Thrown if an error condition occurs. It must contain anEPPEventResponse
-
doDomainCheck
protected EPPEventResponse doDomainCheck(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainCheck
method and add handling of the Allocation Token Extension.- Overrides:
doDomainCheck
in classDomainHandler
- 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)
Override base handlerdoDomainInfo
method and add handling of the Allocation Token Info Extension.- Overrides:
doDomainInfo
in classDomainHandler
- 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)
Override base handlerdoDomainCreate
method and add handling of the Allocation Token Extension.- Overrides:
doDomainCreate
in classDomainHandler
- 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)
Override base handlerdoDomainUpdate
method and add handling of the Allocation Token Extension.- Overrides:
doDomainUpdate
in classDomainHandler
- 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)
Override base handlerdoDomainTransfer
method and add handling of the Allocation Token Extension.- Overrides:
doDomainTransfer
in classDomainHandler
- 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.
-
-