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
TheNamestoreExtHostHandler
class extendsHostHandler
to 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 EPPEventResponse
doHostCheck(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostCheck
method and add NameStore Extension to response.protected EPPEventResponse
doHostCreate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostCreate
method and add NameStore Extension to response.protected EPPEventResponse
doHostDelete(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostDelete
method and add NameStore Extension to response.protected EPPEventResponse
doHostInfo(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostUpdate
method and add NameStore Extension to response.protected EPPEventResponse
doHostUpdate(EPPEvent aEvent, java.lang.Object aData)
Override base handlerdoHostUpdate
method and add NameStore Extension to response.protected void
preHandleEvent(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:
preHandleEvent
in classHostHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisEPPDomainHandler
This 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 handlerdoHostCreate
method and add NameStore Extension to response.- Overrides:
doHostCreate
in classHostHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoHostCheck
method and add NameStore Extension to response.- Overrides:
doHostCheck
in classHostHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoHostDelete
method and add NameStore Extension to response.- Overrides:
doHostDelete
in classHostHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoHostUpdate
method and add NameStore Extension to response.- Overrides:
doHostInfo
in classHostHandler
- Parameters:
aEvent
- TheEPPEvent
that 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 handlerdoHostUpdate
method and add NameStore Extension to response.- Overrides:
doHostUpdate
in classHostHandler
- Parameters:
aEvent
- TheEPPEvent
that 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.
-
-