Class EAIContactHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPContactHandler
-
- com.verisign.epp.serverstub.ContactHandler
-
- com.verisign.epp.serverstub.eai.v1_0.EAIContactHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class EAIContactHandler extends ContactHandler
TheEAIContactHandler
class extends theContactHandler
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 Summary
Constructors Constructor Description EAIContactHandler()
Constructs an instance ofEAIContactHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPEventResponse
doContactCreate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Contact Create command is received.EPPEventResponse
doContactInfo(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Contact Info command is received.EPPEventResponse
doContactUpdate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Contact Update command is received.-
Methods inherited from class com.verisign.epp.serverstub.ContactHandler
doContactCheck, doContactDelete, doContactTransfer, getDefaultInfoResponseWithAllElements, getMinimalInfoResponseWithAllElements, getPartialInfoResponseWithAllElements, postHandleEvent, preHandleEvent
-
Methods inherited from class com.verisign.epp.framework.EPPContactHandler
getNamespace, handleEvent
-
-
-
-
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 classContactHandler
- 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.
-
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 classContactHandler
- 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.
-
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 classContactHandler
- 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.
-
-