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
TheAllocationTokenDomainHandlerclass extendsDomainHandlerto 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 EPPEventResponsedoDomainCheck(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainCheckmethod and add handling of the Allocation Token Extension.protected EPPEventResponsedoDomainCreate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainCreatemethod and add handling of the Allocation Token Extension.protected EPPEventResponsedoDomainInfo(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainInfomethod and add handling of the Allocation Token Info Extension.protected EPPEventResponsedoDomainTransfer(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainTransfermethod and add handling of the Allocation Token Extension.protected EPPEventResponsedoDomainUpdate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainUpdatemethod and add handling of the Allocation Token Extension.protected voidpreHandleEvent(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:
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
protected EPPEventResponse doDomainCheck(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDomainInfo(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDomainCreate(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDomainUpdate(EPPEvent aEvent, java.lang.Object aData)
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
protected EPPEventResponse doDomainTransfer(EPPEvent aEvent, java.lang.Object aData)
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.
-
-