public class NamestoreExtHostHandler extends HostHandler
NamestoreExtHostHandler
class extends
HostHandler
to include responding with Namestore Extension
attributes. Specifically, sub-product is passed into the handler and is
returned. EPPEvent
,
EPPEventResponse
Constructor and Description |
---|
NamestoreExtHostHandler()
Constructs an instance of NamestoreExtHostHandler
|
Modifier and Type | Method and Description |
---|---|
protected EPPEventResponse |
doHostCheck(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doHostCheck method and add
NameStore Extension to response. |
protected EPPEventResponse |
doHostCreate(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doHostCreate method and add
NameStore Extension to response. |
protected EPPEventResponse |
doHostDelete(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doHostDelete method and add
NameStore Extension to response. |
protected EPPEventResponse |
doHostInfo(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doHostUpdate method and add
NameStore Extension to response. |
protected EPPEventResponse |
doHostUpdate(EPPEvent aEvent,
java.lang.Object aData)
Override base handler
doHostUpdate method and add
NameStore Extension to response. |
protected void |
preHandleEvent(EPPEvent aEvent,
java.lang.Object aData)
Will ensure that the namestore extension is provided.
|
postHandleEvent
getNamespace, handleEvent
public NamestoreExtHostHandler()
protected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
preHandleEvent
in class HostHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPDomainHandler
This is assumed to be an instance
of SessionData here.EPPHandleEventException
- Thrown if an error condition occurs.
It must contain an EPPEventResponse
protected EPPEventResponse doHostCreate(EPPEvent aEvent, java.lang.Object aData)
doHostCreate
method and add
NameStore Extension to response.doHostCreate
in class HostHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPDomaindHandler
protected EPPEventResponse doHostCheck(EPPEvent aEvent, java.lang.Object aData)
doHostCheck
method and add
NameStore Extension to response.doHostCheck
in class HostHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPDomaindHandler
protected EPPEventResponse doHostDelete(EPPEvent aEvent, java.lang.Object aData)
doHostDelete
method and add
NameStore Extension to response.doHostDelete
in class HostHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPDomaindHandler
protected EPPEventResponse doHostInfo(EPPEvent aEvent, java.lang.Object aData)
doHostUpdate
method and add
NameStore Extension to response.doHostInfo
in class HostHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPDomaindHandler
protected EPPEventResponse doHostUpdate(EPPEvent aEvent, java.lang.Object aData)
doHostUpdate
method and add
NameStore Extension to response.doHostUpdate
in class HostHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPDomaindHandler