|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.interfaces.EPPIdnTable
public class EPPIdnTable
EPPIdnTable
is the primary client interface class used for the
IDN Table EPP mapping. An instance of EPPIdnTable
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
responses returned from the send action methods are either instances of
EPPResponse
or instances of response classes in the
com.verisign.epp.codec.idntable
package.
EPPIdnTableCheckResp
,
EPPIdnTableInfoResp
Constructor Summary | |
---|---|
EPPIdnTable(EPPSession aSession)
Constructs an EPPIdnTable given an initialized EPP session. |
Method Summary | |
---|---|
void |
addDomain(java.lang.String aDomain,
EPPIdnTableDomainLabel.Form aForm)
Adds a domain for use with a send method. |
void |
addExtension(EPPCodecComponent aExtension)
Adds a command extension object. |
void |
addTable(java.lang.String aTable)
Adds a table identifier for use with a send method. |
java.util.Vector |
getExtensions()
Gets the command extensions. |
EPPResponse |
getResponse()
Gets the response associated with the last command. |
protected void |
resetIdnTable()
Resets the IDN Table instance to its initial state. |
EPPIdnTableCheckResp |
sendDomainCheck()
Sends an IDN Table Check Command in Domain Check Form to the server. |
EPPIdnTableInfoResp |
sendDomainInfo()
Sends an IDN Table Info Command in Domain Info Form to the server. |
EPPIdnTableInfoResp |
sendListInfo()
Sends an IDN Table Info Command in List Info Form to the server. |
EPPIdnTableCheckResp |
sendTableCheck()
Sends an IDN Table Check Command in Table Check Form to the server. |
EPPIdnTableInfoResp |
sendTableInfo()
Sends an IDN Table Info Command in Table Info Form to the server. |
void |
setExtensions(java.util.Vector aExtensions)
Sets the command extension objects. |
void |
setTransId(java.lang.String aTransId)
Sets the client transaction identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPPIdnTable(EPPSession aSession)
EPPIdnTable
given an initialized EPP session.
aSession
- Server session to use.Method Detail |
---|
public void addExtension(EPPCodecComponent aExtension)
aExtension
- command extension object associated with the commandpublic void setExtensions(java.util.Vector aExtensions)
aExtensions
- command extension objects associated with the commandpublic java.util.Vector getExtensions()
Vector
of concrete EPPCodecComponent
associated with the command if exists; null
otherwise.public void setTransId(java.lang.String aTransId)
aTransId
- Client transaction identifierpublic void addDomain(java.lang.String aDomain, EPPIdnTableDomainLabel.Form aForm)
send
method. Adding more than
one domain is only supported by sendCheck
.
aDomain
- Domain name to addaForm
- The form of the domain name, which is
EPPIdnTableDomainLabel.A_LABEL
for an A-label and
// * EPPIdnTableDomainLabel.U_LABEL
for a U-label.public void addTable(java.lang.String aTable)
send
method. Adding
more than one table is only supported by sendCheck
.
aTable
- Table identifier to add.public EPPIdnTableCheckResp sendDomainCheck() throws EPPCommandException
sendDomainCheck()
include:addDomain
- Sets the domains to check. At least
one domain must be set.setTransId
- Sets the client transaction identifier.
EPPIdnTableCheckResp
with form set to
EPPIdnTableCheckResp.Form.DOMAIN_FORM
.
EPPCommandException
- On errorpublic EPPIdnTableCheckResp sendTableCheck() throws EPPCommandException
sendTableCheck()
include:addTable
- Sets the table identifiers to check. At least
one table must be set.setTransId
- Sets the client transaction identifier.
EPPIdnTableCheckResp
with form set to
EPPIdnTableCheckResp.Form.TABLE_FORM
.
EPPCommandException
- On errorpublic EPPIdnTableInfoResp sendDomainInfo() throws EPPCommandException
sendDomainInfo()
include:addDomain
- Sets the domain name to get IDN Table info
for. Only one domain is valid.setTransId
- Sets the client transaction identifier.
EPPIdnTableInfoResp
with form set to
EPPIdnTableInfoResp.Form.DOMAIN_FORM
.
EPPCommandException
- On errorpublic EPPIdnTableInfoResp sendTableInfo() throws EPPCommandException
sendTableInfo()
include:addTable
- Sets the table identifier to get info for.
Only one table is valid.setTransId
- Sets the client transaction identifier.
EPPIdnTableInfoResp
with form set to
EPPIdnTableInfoResp.Form.TABLE_FORM
.
EPPCommandException
- On errorpublic EPPIdnTableInfoResp sendListInfo() throws EPPCommandException
sendListInfo()
.setTransId
- Sets the client transaction identifier.
EPPIdnTableInfoResp
with form set to
EPPIdnTableInfoResp.Form.LIST_FORM
.
EPPCommandException
- On errorprotected void resetIdnTable()
public EPPResponse getResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |