|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.interfaces.EPPNameVerification
public class EPPNameVerification
EPPNameVerification
is the primary client interface class used
for the Name Verification EPP mapping. An instance of
EPPNameVerification
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.vs0p.domaincode
package.
com.verisign.epp.codec.vsp.domaincode.EPPNameVerificationCreateResp
,
com.verisign.epp.codec.vsp.domaincode.EPPNameVerificationInfoResp
Constructor Summary | |
---|---|
EPPNameVerification(EPPSession aSession)
Constructs an EPPNameVerification given an initialized EPP
session. |
Method Summary | |
---|---|
void |
addExtension(EPPCodecComponent aExtension)
Adds a command extension object. |
void |
addLabel(java.lang.String aLabel)
Add a label to the list of labels. |
java.util.Vector |
getExtensions()
Gets the command extensions. |
EPPResponse |
getResponse()
Gets the response associated with the last command. |
protected void |
resetNameVerification()
Resets the Name Verification instance to its initial state. |
EPPNameVerificationCheckResp |
sendCheck()
Sends an Name Verification Check Command to the server. |
EPPNameVerificationCreateResp |
sendCreate()
Sends a Name Verification Create Command to the server. |
EPPNameVerificationInfoResp |
sendInfo()
Sends an Name Verification Info Command to the server. |
EPPResponse |
sendUpdate()
Sends an Name Verification Update Command to the server. |
void |
setAuthInfo(java.lang.String aAuthInfo)
Set the auth info for a create or info command. |
void |
setCode(java.lang.String aCode)
Sets the code for use with an info command or update command. |
void |
setDnv(EPPDomainNameVerification aDnv)
Sets the Domain Name Verification (DNV) information used on a create. |
void |
setExtensions(java.util.Vector aExtensions)
Sets the command extension objects. |
void |
setInfoType(EPPNameVerificationInfoCmd.Type aInfoType)
Sets the info type that is used on an info command. |
void |
setRnv(EPPRealNameVerification aRnv)
Sets the Real Name Verification (RNV) information used on a create. |
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 EPPNameVerification(EPPSession aSession)
EPPNameVerification
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 addLabel(java.lang.String aLabel)
aLabel
- Label to addpublic void setAuthInfo(java.lang.String aAuthInfo)
aAuthInfo
- Authorization valuepublic void setCode(java.lang.String aCode)
aCode
- Verification code valuepublic void setDnv(EPPDomainNameVerification aDnv)
aDnv
- Domain Name Verification (DNV) informationpublic void setRnv(EPPRealNameVerification aRnv)
aRnv
- Real Name Verification (RNV) informationpublic void setInfoType(EPPNameVerificationInfoCmd.Type aInfoType)
aInfoType
- The info type (input or signedCode)public EPPNameVerificationCheckResp sendCheck() throws EPPCommandException
sendCheck()
include:addLabel(String)
- Add at least one domain label to
check.setTransId
- Sets the client transaction identifier.
EPPNameVerificationCheckResp
.
EPPCommandException
- On errorpublic EPPNameVerificationInfoResp sendInfo() throws EPPCommandException
sendInfo()
include:setCode(String)
- Sets the domain verification code to
info.setType(EPPNameVerificationInfoCmd.Type)
- Sets the info
type using one of the EPPNameVerificationInfoCmd.Type
enumerated values.setTransId
- Sets the client transaction identifier.setAuthInfo(String)
- Sets the authorization information
to OPTIONAL authorize the info command.
EPPNameVerificationInfoResp
.
EPPCommandException
- On errorpublic EPPNameVerificationCreateResp sendCreate() throws EPPCommandException
sendCreate()
include:setDnv(EPPDomainNameVerification)
or
setRnv(EPPRealNameVerification)
- Sets the domain or real
name verification information needed to be verified.setAuthInfo(String)
- Sets the required authorization
information for the Name Verification (NV) object.
setTransId
- Sets the client transaction identifier.
EPPNameVerificationCreateResp
.
EPPCommandException
- On errorpublic EPPResponse sendUpdate() throws EPPCommandException
sendUpdate()
include:setCode(String)
- Sets the verification code to update.
setAuthInfo(String)
- Sets the authorization information
to set for the Name Verification (NV) object.setTransId
- Sets the client transaction identifier.
EPPResponse
.
EPPCommandException
- On errorprotected void resetNameVerification()
public EPPResponse getResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |