Class NamestoreExtHostHandler

All Implemented Interfaces:
EPPEventHandler

public class NamestoreExtHostHandler extends HostHandler
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 Details

    • NamestoreExtHostHandler

      public NamestoreExtHostHandler()
      Constructs an instance of NamestoreExtHostHandler
  • Method Details

    • preHandleEvent

      protected void preHandleEvent(EPPEvent aEvent, Object aData) throws EPPHandleEventException
      Will ensure that the namestore extension is provided.
      Overrides:
      preHandleEvent in class HostHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPDomainHandler This is assumed to be an instance of SessionData here.
      Throws:
      EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
    • doHostCreate

      protected EPPEventResponse doHostCreate(EPPEvent aEvent, Object aData)
      Override base handler doHostCreate method and add NameStore Extension to response.
      Overrides:
      doHostCreate in class HostHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPDomaindHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doHostCheck

      protected EPPEventResponse doHostCheck(EPPEvent aEvent, Object aData)
      Override base handler doHostCheck method and add NameStore Extension to response.
      Overrides:
      doHostCheck in class HostHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPDomaindHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doHostDelete

      protected EPPEventResponse doHostDelete(EPPEvent aEvent, Object aData)
      Override base handler doHostDelete method and add NameStore Extension to response.
      Overrides:
      doHostDelete in class HostHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPDomaindHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doHostInfo

      protected EPPEventResponse doHostInfo(EPPEvent aEvent, Object aData)
      Override base handler doHostUpdate method and add NameStore Extension to response.
      Overrides:
      doHostInfo in class HostHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPDomaindHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doHostUpdate

      protected EPPEventResponse doHostUpdate(EPPEvent aEvent, Object aData)
      Override base handler doHostUpdate method and add NameStore Extension to response.
      Overrides:
      doHostUpdate in class HostHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this EPPDomaindHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.