Package com.verisign.epp.serverstub
Class LaunchDomainHandler
- java.lang.Object
-
- com.verisign.epp.framework.EPPDomainHandler
-
- com.verisign.epp.serverstub.DomainHandler
-
- com.verisign.epp.serverstub.LaunchDomainHandler
-
- All Implemented Interfaces:
EPPEventHandler
public class LaunchDomainHandler extends DomainHandler
Extension to the standardDomainHandlerthat looks for theEPPLaunchInfcommand extension with the info command and adds theEPPLaunchInfDataextension to the response.
-
-
Constructor Summary
Constructors Constructor Description LaunchDomainHandler()Constructs an instance of LaunchDomainHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EPPEventResponsedoDomainCheck(EPPEvent aEvent, java.lang.Object aData)Invoked when a Domain Check command is received that includes support for the Claims Check Command with theEPPLaunchCheckextension.protected EPPEventResponsedoDomainCreate(EPPEvent aEvent, java.lang.Object aData)Invoked when a Domain Create command is received that includes support for theEPPLaunchCreateextension.protected EPPEventResponsedoDomainDelete(EPPEvent aEvent, java.lang.Object aData)Invoked when a Domain Delete command is received that includes support for theEPPLaunchDeleteextension.protected EPPEventResponsedoDomainInfo(EPPEvent aEvent, java.lang.Object aData)Invoked when a Domain Info command is received that includes support for theEPPLaunchInfoextension.protected EPPEventResponsedoDomainUpdate(EPPEvent aEvent, java.lang.Object aData)Invoked when a Domain Update command is received that includes support for theEPPLaunchUpdateextension.-
Methods inherited from class com.verisign.epp.serverstub.DomainHandler
doDomainRenew, doDomainTransfer, postHandleEvent, preHandleEvent
-
Methods inherited from class com.verisign.epp.framework.EPPDomainHandler
getNamespace, handleEvent
-
-
-
-
Method Detail
-
doDomainCheck
protected EPPEventResponse doDomainCheck(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Check command is received that includes support for the Claims Check Command with theEPPLaunchCheckextension.- Overrides:
doDomainCheckin classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisLaunchDomainHandler- Returns:
- The
EPPEventResponsethat should be sent back to the client.
-
doDomainInfo
protected EPPEventResponse doDomainInfo(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Info command is received that includes support for theEPPLaunchInfoextension. When theEPPLaunchInfoextension is passed, the phasesEPPLaunchPhase.PHASE_SUNRISEandEPPLaunchPhase.PHASE_LANDRUSHis supported in returning a Domain Info Response with aEPPLaunchInfDataextension.- Overrides:
doDomainInfoin classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisLaunchDomainHandler- Returns:
- The
EPPEventResponsethat should be sent back to the client.
-
doDomainCreate
protected EPPEventResponse doDomainCreate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Create command is received that includes support for theEPPLaunchCreateextension. When theEPPLaunchCreatetwo different forms are supported including:
- Sunrise Create Form - Supported when the phase is set to
EPPLaunchPhase.PHASE_SUNRISE. The domain name passed will drive the type of sunrise used, where if a domain name starts with "app" it will treat it as a sunrise application inpendingCreatestatus and with an application identifier returned. If a domain name starts with "reg" it will treat it as a sunrise registration inokstatus and without an application identifier returned. This form supports the passing of mark information provided either one of the models:
- codeMark - Passing a code, passing a mark, or passing both a code and a mark.
- signedMark - Passing a digitally signed mark.
- encodedSignedMark - Passing a Base64 encoded digitally signed mark.
- Claims Create Form - Supported when the phase is set to
EPPLaunchPhase.PHASE_CLAIMS1orEPPLaunchPhase.PHASE_CLAIMS2along with the claims notice information using the <launch:notice> element.
- Overrides:
doDomainCreatein classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisLaunchDomainHandler- Returns:
- The
EPPEventResponsethat should be sent back to the client.
- Sunrise Create Form - Supported when the phase is set to
-
doDomainDelete
protected EPPEventResponse doDomainDelete(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Delete command is received that includes support for theEPPLaunchDeleteextension. When theEPPLaunchDeleteextension is passed, the phasesEPPLaunchPhase.PHASE_SUNRISEandEPPLaunchPhase.PHASE_LANDRUSHis supported.- Overrides:
doDomainDeletein classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisLaunchDomainHandler- Returns:
- The
EPPEventResponsethat should be sent back to the client.
-
doDomainUpdate
protected EPPEventResponse doDomainUpdate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Update command is received that includes support for theEPPLaunchUpdateextension. When theEPPLaunchUpdateextension is passed, the phasesEPPLaunchPhase.PHASE_SUNRISEandEPPLaunchPhase.PHASE_LANDRUSHis supported.- Overrides:
doDomainUpdatein classDomainHandler- Parameters:
aEvent- TheEPPEventthat is being handledaData- Any data that a Server needs to send to thisLaunchDomainHandler- Returns:
- The
EPPEventResponsethat should be sent back to the client.
-
-