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
The
AllocationTokenDomainHandler class extends
DomainHandler to include handling the allocation token
extension.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance of AllocationTokenDomainHandler -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoDomainCheck(EPPEvent aEvent, Object aData) Override base handlerdoDomainCheckmethod and add handling of the Allocation Token Extension.protected EPPEventResponsedoDomainCreate(EPPEvent aEvent, Object aData) Override base handlerdoDomainCreatemethod and add handling of the Allocation Token Extension.protected EPPEventResponsedoDomainInfo(EPPEvent aEvent, Object aData) Override base handlerdoDomainInfomethod and add handling of the Allocation Token Info Extension.protected EPPEventResponsedoDomainTransfer(EPPEvent aEvent, Object aData) Override base handlerdoDomainTransfermethod and add handling of the Allocation Token Extension.protected EPPEventResponsedoDomainUpdate(EPPEvent aEvent, Object aData) Override base handlerdoDomainUpdatemethod and add handling of the Allocation Token Extension.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Will ensure that the namestore extension is provided.Methods inherited from class com.verisign.epp.serverstub.DomainHandler
doDomainDelete, doDomainRenew, postHandleEventMethods inherited from class com.verisign.epp.framework.EPPDomainHandler
getNamespace, handleEvent
-
Constructor Details
-
AllocationTokenDomainHandler
public AllocationTokenDomainHandler()Constructs an instance of AllocationTokenDomainHandler
-
-
Method Details
-
preHandleEvent
Will ensure that the namestore extension is provided.- 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
-
doDomainCheck
Override base handlerdoDomainCheckmethod and add handling of the Allocation Token Extension.- Overrides:
doDomainCheckin 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.
-
doDomainInfo
Override base handlerdoDomainInfomethod and add handling of the Allocation Token Info Extension.- Overrides:
doDomainInfoin 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.
-
doDomainCreate
Override base handlerdoDomainCreatemethod and add handling of the Allocation Token Extension.- 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.
-
doDomainUpdate
Override base handlerdoDomainUpdatemethod and add handling of the Allocation Token Extension.- 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.
-
doDomainTransfer
Override base handlerdoDomainTransfermethod and add handling of the Allocation Token Extension.- Overrides:
doDomainTransferin 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.
-