Package com.verisign.epp.serverstub
Class NamestoreExtDomainHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPDomainHandler
-
- com.verisign.epp.serverstub.DomainHandler
-
- com.verisign.epp.serverstub.NamestoreExtDomainHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class NamestoreExtDomainHandler extends DomainHandler
TheNamestoreExtDomainHandlerclass extendsDomainHandlerto include responding with Namestore Extension attributes. Specifically, the sub-product is passed into the handler and is returned.
- See Also:
EPPEvent,EPPEventResponse
-
-
Constructor Summary
Constructors Constructor Description NamestoreExtDomainHandler()Constructs an instance of NamestoreExtDomainHandler
-
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 NameStore Extension to response.protected EPPEventResponsedoDomainCreate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainCreatemethod and add NameStore Extension to response.protected EPPEventResponsedoDomainDelete(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainDeletemethod and add NameStore Extension to response.protected EPPEventResponsedoDomainInfo(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainInfomethod and add NameStore Extension to response.protected EPPEventResponsedoDomainRenew(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainRenewmethod and add NameStore Extension to response.protected EPPEventResponsedoDomainTransfer(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainTransfermethod and add NameStore Extension to response.protected EPPEventResponsedoDomainUpdate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoDomainUpdatemethod and add NameStore Extension to response.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
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
-
doDomainCreate
protected EPPEventResponse doDomainCreate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainCreatemethod and add NameStore Extension to response.- 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.
-
doDomainCheck
protected EPPEventResponse doDomainCheck(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainCheckmethod and add NameStore Extension to response.- 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.
-
doDomainDelete
protected EPPEventResponse doDomainDelete(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainDeletemethod and add NameStore Extension to response.- Overrides:
doDomainDeletein 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 NameStore Extension to response.- 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.
-
doDomainRenew
protected EPPEventResponse doDomainRenew(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainRenewmethod and add NameStore Extension to response.- Overrides:
doDomainRenewin 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 NameStore Extension to response.- 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.
-
doDomainUpdate
protected EPPEventResponse doDomainUpdate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoDomainUpdatemethod and add NameStore Extension to response.- 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.
-
-