public class EPPRegistry
extends java.lang.Object
Constructor and Description |
---|
EPPRegistry(EPPSession aSession)
Constructs an
EPPRegistry given an initialized EPP session. |
Modifier and Type | Method and Description |
---|---|
void |
addTld(java.lang.String tld) |
java.lang.String |
getAuthRoid() |
java.lang.String |
getAuthString() |
EPPSession |
getSession() |
java.lang.String |
getTransId() |
java.util.List |
getZoneList() |
boolean |
isAllTlds() |
void |
resetRegistry() |
EPPRegistryCheckResp |
sendCheck()
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. |
EPPRegistryCreateResp |
sendCreate() |
EPPResponse |
sendDelete() |
EPPRegistryInfoResp |
sendInfo()
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. |
EPPResponse |
sendUpdate() |
void |
setAllTlds(boolean allTlds) |
void |
setAuthRoid(java.lang.String authRoid) |
void |
setAuthString(java.lang.String authString) |
void |
setSession(EPPSession session) |
void |
setTransId(java.lang.String transId) |
void |
setZoneList(java.util.List zoneList) |
public EPPRegistry(EPPSession aSession)
EPPRegistry
given an initialized EPP session.aSession
- Server session to use.public EPPRegistryCheckResp sendCheck() throws EPPCommandException
addTld
- Adds a TLD name to check. More than one TLD names
can be checked in sendCheck
setTransId
- Sets the client transaction identifierEPPRegistryCheckResp
containing the TLD check
information.EPPCommandException
- Error executing the check command. Use
getResponse
to get the associated server
error response.public EPPResponse sendDelete() throws EPPCommandException
EPPCommandException
public EPPRegistryInfoResp sendInfo() throws EPPCommandException
addTldName
- Sets the tld name to get info for. Only one tld
name is valid.setTransId
- Sets the client transaction identifiersetAuthString
- Sets the Authorization stringEPPRegistryInfoResp
containing the Registry
information.EPPCommandException
- Error executing the info command. Use
getResponse
to get the associated server
error response.public EPPRegistryCreateResp sendCreate() throws EPPCommandException
EPPCommandException
public EPPResponse sendUpdate() throws EPPCommandException
EPPCommandException
public EPPSession getSession()
public void setSession(EPPSession session)
public java.lang.String getTransId()
public void setTransId(java.lang.String transId)
public java.util.List getZoneList()
public void setZoneList(java.util.List zoneList)
public void addTld(java.lang.String tld)
public boolean isAllTlds()
public void setAllTlds(boolean allTlds)
public void resetRegistry()
public java.lang.String getAuthString()
public void setAuthString(java.lang.String authString)
public java.lang.String getAuthRoid()
public void setAuthRoid(java.lang.String authRoid)