Class EPPRegistry


  • public class EPPRegistry
    extends java.lang.Object
    • Constructor Detail

      • EPPRegistry

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

      • sendCheck

        public EPPRegistryCheckResp sendCheck()
                                       throws EPPCommandException
        Sends a TLD Name Check Command to the server.

        The required attributes have been set with the following methods:

        • addTld - Adds a TLD name to check. More than one TLD names can be checked in sendCheck


        The optional attributes have been set with the following:

        • setTransId - Sets the client transaction identifier
        Returns:
        EPPRegistryCheckResp containing the TLD check information.
        Throws:
        EPPCommandException - Error executing the check command. Use getResponse to get the associated server error response.
      • sendInfo

        public EPPRegistryInfoResp sendInfo()
                                     throws EPPCommandException
        Sends a Registry Info Command to the server.

        The required attributes have been set with the following methods:

        • addTldName - Sets the tld name to get info for. Only one tld name is valid.


        The optional attributes have been set with the following:

        • setTransId - Sets the client transaction identifier
        • setAuthString - Sets the Authorization string
        Returns:
        EPPRegistryInfoResp containing the Registry information.
        Throws:
        EPPCommandException - Error executing the info command. Use getResponse to get the associated server error response.
      • setSession

        public void setSession​(EPPSession session)
      • getTransId

        public java.lang.String getTransId()
      • setTransId

        public void setTransId​(java.lang.String transId)
      • getZoneList

        public java.util.List getZoneList()
      • setZoneList

        public void setZoneList​(java.util.List zoneList)
      • addTld

        public void addTld​(java.lang.String tld)
      • isAllTlds

        public boolean isAllTlds()
      • setAllTlds

        public void setAllTlds​(boolean allTlds)
      • resetRegistry

        public void resetRegistry()
      • getAuthString

        public java.lang.String getAuthString()
      • setAuthString

        public void setAuthString​(java.lang.String authString)
      • getAuthRoid

        public java.lang.String getAuthRoid()
      • setAuthRoid

        public void setAuthRoid​(java.lang.String authRoid)