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 standardDomainHandler
that looks for theEPPLaunchInf
command extension with the info command and adds theEPPLaunchInfData
extension 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 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 theEPPLaunchCheck
extension.protected EPPEventResponse
doDomainCreate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Create command is received that includes support for theEPPLaunchCreate
extension.protected EPPEventResponse
doDomainDelete(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Delete command is received that includes support for theEPPLaunchDelete
extension.protected EPPEventResponse
doDomainInfo(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Info command is received that includes support for theEPPLaunchInfo
extension.protected EPPEventResponse
doDomainUpdate(EPPEvent aEvent, java.lang.Object aData)
Invoked when a Domain Update command is received that includes support for theEPPLaunchUpdate
extension.-
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 theEPPLaunchCheck
extension.- Overrides:
doDomainCheck
in classDomainHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisLaunchDomainHandler
- Returns:
- The
EPPEventResponse
that 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 theEPPLaunchInfo
extension. When theEPPLaunchInfo
extension is passed, the phasesEPPLaunchPhase.PHASE_SUNRISE
andEPPLaunchPhase.PHASE_LANDRUSH
is supported in returning a Domain Info Response with aEPPLaunchInfData
extension.- Overrides:
doDomainInfo
in classDomainHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisLaunchDomainHandler
- Returns:
- The
EPPEventResponse
that 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 theEPPLaunchCreate
extension. When theEPPLaunchCreate
two 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 inpendingCreate
status and with an application identifier returned. If a domain name starts with "reg" it will treat it as a sunrise registration inok
status 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_CLAIMS1
orEPPLaunchPhase.PHASE_CLAIMS2
along with the claims notice information using the <launch:notice> element.
- Overrides:
doDomainCreate
in classDomainHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisLaunchDomainHandler
- Returns:
- The
EPPEventResponse
that 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 theEPPLaunchDelete
extension. When theEPPLaunchDelete
extension is passed, the phasesEPPLaunchPhase.PHASE_SUNRISE
andEPPLaunchPhase.PHASE_LANDRUSH
is supported.- Overrides:
doDomainDelete
in classDomainHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisLaunchDomainHandler
- Returns:
- The
EPPEventResponse
that 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 theEPPLaunchUpdate
extension. When theEPPLaunchUpdate
extension is passed, the phasesEPPLaunchPhase.PHASE_SUNRISE
andEPPLaunchPhase.PHASE_LANDRUSH
is supported.- Overrides:
doDomainUpdate
in classDomainHandler
- Parameters:
aEvent
- TheEPPEvent
that is being handledaData
- Any data that a Server needs to send to thisLaunchDomainHandler
- Returns:
- The
EPPEventResponse
that should be sent back to the client.
-
-