Package com.verisign.epp.serverstub
Class NamestoreExtHostHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPHostHandler
-
- com.verisign.epp.serverstub.HostHandler
-
- com.verisign.epp.serverstub.NamestoreExtHostHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class NamestoreExtHostHandler extends HostHandler
TheNamestoreExtHostHandlerclass extendsHostHandlerto include responding with Namestore Extension attributes. Specifically, sub-product is passed into the handler and is returned.
- See Also:
EPPEvent,EPPEventResponse
-
-
Constructor Summary
Constructors Constructor Description NamestoreExtHostHandler()Constructs an instance of NamestoreExtHostHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponsedoHostCheck(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoHostCheckmethod and add NameStore Extension to response.protected EPPEventResponsedoHostCreate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoHostCreatemethod and add NameStore Extension to response.protected EPPEventResponsedoHostDelete(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoHostDeletemethod and add NameStore Extension to response.protected EPPEventResponsedoHostInfo(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoHostUpdatemethod and add NameStore Extension to response.protected EPPEventResponsedoHostUpdate(EPPEvent aEvent, java.lang.Object aData)Override base handlerdoHostUpdatemethod 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.HostHandler
postHandleEvent
-
Methods inherited from class com.verisign.epp.framework.EPPHostHandler
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 classHostHandler- 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
-
doHostCreate
protected EPPEventResponse doHostCreate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostCreatemethod and add NameStore Extension to response.- Overrides:
doHostCreatein classHostHandler- 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.
-
doHostCheck
protected EPPEventResponse doHostCheck(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostCheckmethod and add NameStore Extension to response.- Overrides:
doHostCheckin classHostHandler- 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.
-
doHostDelete
protected EPPEventResponse doHostDelete(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostDeletemethod and add NameStore Extension to response.- Overrides:
doHostDeletein classHostHandler- 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.
-
doHostInfo
protected EPPEventResponse doHostInfo(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostUpdatemethod and add NameStore Extension to response.- Overrides:
doHostInfoin classHostHandler- 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.
-
doHostUpdate
protected EPPEventResponse doHostUpdate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostUpdatemethod and add NameStore Extension to response.- Overrides:
doHostUpdatein classHostHandler- 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.
-
-