Package com.verisign.epp.interfaces
Class EPPLaunch
java.lang.Object
com.verisign.epp.interfaces.EPPLaunch
EPPLaunch is the primary client interface class used for launch
EPP extension. This interface class is only used for sending the Claims Check
Command via the sendCheck() method. An instance of
EPPLaunch is created with an initialized EPPSession
, and can be used for more than one request within a single thread. A set of
setter methods are provided to set the attributes before a call to one of the
send action methods. The response returned from the send action methods are
either instances of EPPResponse or instances of response classes
in the com.verisign.epp.codec.launch package.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTrademark claims phase 1 as defined by Trademark Clearinghouse model of displaying a claims notice to clients for domain names that match trademarks.static final StringPost launch phase that is also referred to as "steady state".static final StringPost sunrise phase when non-trademark holders are allowed to register domain names with steps taken to address a large volume of initial registrations.static final StringPost launch phase that is also referred to as "steady state".static final StringPhase when trademark holders can submit registrations or applications with trademark information that can be validated by.static final StringConstant used to specify the availability check form typestatic final StringConstant used to specify the claims check form type -
Constructor Summary
ConstructorsConstructorDescriptionEPPLaunch(EPPSession aSession) Constructs anEPPLaunchgiven an initialized EPP session. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDomainName(String aDomain) Adds a domain name for use withsendCheck()method.voidaddExtension(EPPCodecComponent aExtension) Adds a command extension object.Gets the command extensions.Gets the response associated with the last command.protected voidResets the domain instance to its initial state.Sends a Claim Check Command, which is an extension of the Domain Check with theEPPLaunchCheckextension and the type set to the whether to execute a claims check command or an availability check command for a given phase.
The required attributes have been set with the following methods:
addDomainName- Adds a domain name to check if there is a matching trademark that requires a claims notice.voidsetExtensions(Vector aExtensions) Sets the command extension objects.voidSets the phase value.voidsetPhaseName(String aPhaseName) Sets the phase name value.voidsetTransId(String aTransId) Sets the client transaction identifier.voidSets the check form type.
-
Field Details
-
PHASE_SUNRISE
Phase when trademark holders can submit registrations or applications with trademark information that can be validated by.- See Also:
-
PHASE_LANDRUSH
Post sunrise phase when non-trademark holders are allowed to register domain names with steps taken to address a large volume of initial registrations.- See Also:
-
PHASE_CLAIMS
Trademark claims phase 1 as defined by Trademark Clearinghouse model of displaying a claims notice to clients for domain names that match trademarks.- See Also:
-
PHASE_OPEN
Post launch phase that is also referred to as "steady state". Servers MAY require additional trademark protection with this phase.- See Also:
-
PHASE_CUSTOM
Post launch phase that is also referred to as "steady state". Servers MAY require additional trademark protection with this phase.- See Also:
-
TYPE_CLAIMS
Constant used to specify the claims check form type- See Also:
-
TYPE_AVAILABILITY
Constant used to specify the availability check form type- See Also:
-
-
Constructor Details
-
EPPLaunch
Constructs anEPPLaunchgiven an initialized EPP session.- Parameters:
aSession- Server session to use.
-
-
Method Details
-
addExtension
Adds a command extension object.- Parameters:
aExtension- command extension object associated with the command
-
setExtensions
Sets the command extension objects.- Parameters:
aExtensions- command extension objects associated with the command
-
getExtensions
Gets the command extensions.- Returns:
Vectorof concreteEPPCodecComponentassociated with the command if exists;nullotherwise.
-
addDomainName
Adds a domain name for use withsendCheck()method.- Parameters:
aDomain- Domain name to add
-
sendCheck
Sends a Claim Check Command, which is an extension of the Domain Check with theEPPLaunchCheckextension and the type set to the whether to execute a claims check command or an availability check command for a given phase.
The required attributes have been set with the following methods:
-
addDomainName- Adds a domain name to check if there is a matching trademark that requires a claims notice. More than one domain name can be checked insendCheck. setPhase- Sets the Claims Check Command phase. The value should be set toPHASE_CLAIMSwhen type is set toTYPE_CLAIMS; otherwise when type is set toTYPE_AVAILABILITYthe availability check will be executed in the context of the defined phase.
The optional attributes have been set with the following:
setType- Sets the type of the check as either aTYPE_CLAIMSfor a claims check command orTYPE_AVAILABILITYfor an availability check for a specific phase. The default type isTYPE_CLAIMS.
-
setTransId- Sets the client transaction identifier
- Returns:
EPPResponsecontainingEPPLaunchChkDataextension when the type attribute isTYPE_CLAIMSorEPPDomainCheckRespwhen the type attribute isTYPE_AVAILABILITY.- Throws:
EPPCommandException- Error executing the check command. UsegetResponseto get the associated server error response.
-
-
resetLaunch
protected void resetLaunch()Resets the domain instance to its initial state. -
getResponse
Gets the response associated with the last command. This method can be used to retrieve the server error response in the catch block of EPPCommandException.- Returns:
- Response associated with the last command
-
setTransId
Sets the client transaction identifier.- Parameters:
aTransId- Client transaction identifier
-
setPhase
Sets the phase value.- Parameters:
aPhase- Phase value, which should be one of thePHASEconstants.
-
setPhaseName
Sets the phase name value. The phase name represents either the sub-phase of the phase value or the custom phase name.- Parameters:
aPhaseName- Phase name
-
setType
Sets the check form type. The XML schema defines the default asTYPE_CLAIMSif undefined.- Parameters:
aType-TYPE_CLAIMSorTYPE_AVAILABILITY
-