Class EAIContactHandler

  • All Implemented Interfaces:
    EPPEventHandler

    public class EAIContactHandler
    extends ContactHandler
    The EAIContactHandler class extends the ContactHandler class to implement the behavior defined in draft-ietf-regext-epp-eai for commands and responses that contain EAI addresses when the client does or does not support draft-ietf-regext-epp-eai.
    • Constructor Detail

      • EAIContactHandler

        public EAIContactHandler()
        Constructs an instance of EAIContactHandler
    • Method Detail

      • doContactCreate

        public EPPEventResponse doContactCreate​(EPPEvent aEvent,
                                                java.lang.Object aData)
        Invoked when a Contact Create command is received. This method will key off a contact starting with the ID "EAI" to include an EAI address in the response or return an error if the client doesn't support EAI.
        Overrides:
        doContactCreate in class ContactHandler
        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.
      • doContactUpdate

        public EPPEventResponse doContactUpdate​(EPPEvent aEvent,
                                                java.lang.Object aData)
        Invoked when a Contact Update command is received. This method will key off a contact starting with the ID "EAI" to include an EAI address in the response or return an error if the client doesn't support EAI.
        Overrides:
        doContactUpdate in class ContactHandler
        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.
      • doContactInfo

        public EPPEventResponse doContactInfo​(EPPEvent aEvent,
                                              java.lang.Object aData)
        Invoked when a Contact Info command is received. This method will key off a contact starting with the ID "EAI" to include an EAI address in the response or return an error if the client doesn't support EAI.
        Overrides:
        doContactInfo in class ContactHandler
        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.