|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.request.Request
de.knipp.rritoolkit.request.DomainSimpleRequest
de.knipp.rritoolkit.request.DomainInfoRequest
public class DomainInfoRequest
request to retrieve information about a given domain
Field Summary | |
---|---|
private boolean |
withProvider
flag whether provider information is desired |
private boolean |
withRecursion
flag whether recurision is desired |
Constructor Summary | |
---|---|
DomainInfoRequest()
constructor |
|
DomainInfoRequest(java.lang.String theDomainName)
constructor |
|
DomainInfoRequest(java.lang.String theDomainName,
java.lang.String theEncodedDomainName)
constructor |
|
DomainInfoRequest(java.lang.String theDomainName,
java.lang.String theEncodedDomainName,
boolean recursion,
boolean provider)
constructor |
Method Summary | |
---|---|
protected void |
addAttributes(XmlBuilder xb)
allow the addition of attributes to the request. |
DomainInfoResponse |
execute(Port port)
execute the this request on the given port. |
protected java.lang.String |
getActionCode()
return the action string for this request |
protected java.lang.String |
getRequestElementName()
return the XML element name |
protected void |
requestToKVList(KVList list)
method that needs to be implemented by subclasses for the key-value list conversion |
void |
setWithProvider(boolean provider)
set whether the provider information shall be returned or not |
void |
setWithRecursion(boolean recursion)
set whether contact data shall be retrieved also |
java.lang.String |
toString()
return a string representation for debugging purposes |
boolean |
withProvider()
return whether the provider information shall be returned or not |
boolean |
withRecursion()
return whether contact data shall be retrieved also |
Methods inherited from class de.knipp.rritoolkit.request.DomainSimpleRequest |
---|
getDomainName, getEncodedDomainName, requestToXml, setDomainName, setDomainName |
Methods inherited from class de.knipp.rritoolkit.request.Request |
---|
getClientTxnID, getProtocolVersion, setClientTxnID, toList, toXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private boolean withRecursion
private boolean withProvider
Constructor Detail |
---|
public DomainInfoRequest()
public DomainInfoRequest(java.lang.String theDomainName, java.lang.String theEncodedDomainName, boolean recursion, boolean provider)
theDomainName
- the domain nametheEncodedDomainName
- the encoded domain name, may be null
for ASCII only domainsrecursion
- if true
, full contact data
is retrieved alsoprovider
- if true
, provider
information is includedpublic DomainInfoRequest(java.lang.String theDomainName, java.lang.String theEncodedDomainName)
theDomainName
- the domain nametheEncodedDomainName
- the encoded domain name, may be null
for ASCII only domainspublic DomainInfoRequest(java.lang.String theDomainName)
theDomainName
- the domain nameMethod Detail |
---|
public DomainInfoResponse execute(Port port) throws java.io.IOException
execute
in class Request
port
- the port on which this request shall
be executed
java.io.IOException
- if the execution failedprotected java.lang.String getRequestElementName()
getRequestElementName
in class DomainSimpleRequest
protected void addAttributes(XmlBuilder xb) throws org.w3c.dom.DOMException, EncodeException
addAttributes
in class DomainSimpleRequest
xb
- the XML builder
org.w3c.dom.DOMException
- on DOM exceptions
EncodeException
- if the encoding fails for some reasonprotected java.lang.String getActionCode()
getActionCode
in class Request
protected void requestToKVList(KVList list) throws EncodeException
requestToKVList
in class DomainSimpleRequest
list
- the list that has to be filled
EncodeException
- if the encoding fails for some reasonpublic java.lang.String toString()
toString
in class DomainSimpleRequest
public boolean withProvider()
true
if provider information
shall be returnedpublic void setWithProvider(boolean provider)
provider
- true
if provider information
shall be returnedpublic boolean withRecursion()
true
if sopublic void setWithRecursion(boolean recursion)
recursion
- true
if contact data shall be
retrieved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |