Class EPPLaunch

java.lang.Object
com.verisign.epp.interfaces.EPPLaunch

public class EPPLaunch extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Trademark claims phase 1 as defined by Trademark Clearinghouse model of displaying a claims notice to clients for domain names that match trademarks.
    static final String
    Post launch phase that is also referred to as "steady state".
    static final String
    Post 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 String
    Post launch phase that is also referred to as "steady state".
    static final String
    Phase when trademark holders can submit registrations or applications with trademark information that can be validated by.
    static final String
    Constant used to specify the availability check form type
    static final String
    Constant used to specify the claims check form type
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs an EPPLaunch given an initialized EPP session.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a domain name for use with sendCheck() method.
    void
    Adds a command extension object.
    Gets the command extensions.
    Gets the response associated with the last command.
    protected void
    Resets the domain instance to its initial state.
    Sends a Claim Check Command, which is an extension of the Domain Check with the EPPLaunchCheck extension 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.
    void
    setExtensions(Vector aExtensions)
    Sets the command extension objects.
    void
    setPhase(String aPhase)
    Sets the phase value.
    void
    setPhaseName(String aPhaseName)
    Sets the phase name value.
    void
    setTransId(String aTransId)
    Sets the client transaction identifier.
    void
    setType(String aType)
    Sets the check form type.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PHASE_SUNRISE

      public static final String PHASE_SUNRISE
      Phase when trademark holders can submit registrations or applications with trademark information that can be validated by.
      See Also:
    • PHASE_LANDRUSH

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String TYPE_CLAIMS
      Constant used to specify the claims check form type
      See Also:
    • TYPE_AVAILABILITY

      public static final String TYPE_AVAILABILITY
      Constant used to specify the availability check form type
      See Also:
  • Constructor Details

    • EPPLaunch

      public EPPLaunch(EPPSession aSession)
      Constructs an EPPLaunch given an initialized EPP session.
      Parameters:
      aSession - Server session to use.
  • Method Details

    • addExtension

      public void addExtension(EPPCodecComponent aExtension)
      Adds a command extension object.
      Parameters:
      aExtension - command extension object associated with the command
    • setExtensions

      public void setExtensions(Vector aExtensions)
      Sets the command extension objects.
      Parameters:
      aExtensions - command extension objects associated with the command
    • getExtensions

      public Vector getExtensions()
      Gets the command extensions.
      Returns:
      Vector of concrete EPPCodecComponent associated with the command if exists; null otherwise.
    • addDomainName

      public void addDomainName(String aDomain)
      Adds a domain name for use with sendCheck() method.
      Parameters:
      aDomain - Domain name to add
    • sendCheck

      public EPPResponse sendCheck() throws EPPCommandException
      Sends a Claim Check Command, which is an extension of the Domain Check with the EPPLaunchCheck extension 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 in sendCheck.
      • setPhase - Sets the Claims Check Command phase. The value should be set to PHASE_CLAIMS when type is set to TYPE_CLAIMS; otherwise when type is set to TYPE_AVAILABILITY the availability check will be executed in the context of the defined phase.


      The optional attributes have been set with the following:

      • setTransId - Sets the client transaction identifier
      Returns:
      EPPResponse containing EPPLaunchChkData extension when the type attribute is TYPE_CLAIMS or EPPDomainCheckResp when the type attribute is TYPE_AVAILABILITY.
      Throws:
      EPPCommandException - Error executing the check command. Use getResponse to get the associated server error response.
    • resetLaunch

      protected void resetLaunch()
      Resets the domain instance to its initial state.
    • getResponse

      public EPPResponse 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

      public void setTransId(String aTransId)
      Sets the client transaction identifier.
      Parameters:
      aTransId - Client transaction identifier
    • setPhase

      public void setPhase(String aPhase)
      Sets the phase value.
      Parameters:
      aPhase - Phase value, which should be one of the PHASE constants.
    • setPhaseName

      public void setPhaseName(String aPhaseName)
      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

      public void setType(String aType)
      Sets the check form type. The XML schema defines the default as TYPE_CLAIMS if undefined.
      Parameters:
      aType - TYPE_CLAIMS or TYPE_AVAILABILITY