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
The
NamestoreExtHostHandler class extends
HostHandler to include responding with Namestore Extension
attributes. Specifically, sub-product is passed into the handler and is
returned. - See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EPPEventResponsedoHostCheck(EPPEvent aEvent, Object aData) Override base handlerdoHostCheckmethod and add NameStore Extension to response.protected EPPEventResponsedoHostCreate(EPPEvent aEvent, Object aData) Override base handlerdoHostCreatemethod and add NameStore Extension to response.protected EPPEventResponsedoHostDelete(EPPEvent aEvent, Object aData) Override base handlerdoHostDeletemethod and add NameStore Extension to response.protected EPPEventResponsedoHostInfo(EPPEvent aEvent, Object aData) Override base handlerdoHostUpdatemethod and add NameStore Extension to response.protected EPPEventResponsedoHostUpdate(EPPEvent aEvent, Object aData) Override base handlerdoHostUpdatemethod and add NameStore Extension to response.protected voidpreHandleEvent(EPPEvent aEvent, Object aData) Will ensure that the namestore extension is provided.Methods inherited from class com.verisign.epp.serverstub.HostHandler
postHandleEventMethods inherited from class com.verisign.epp.framework.EPPHostHandler
getNamespace, handleEvent
-
Constructor Details
-
NamestoreExtHostHandler
public NamestoreExtHostHandler()Constructs an instance of NamestoreExtHostHandler
-
-
Method Details
-
preHandleEvent
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
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
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
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
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
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.
-