de.knipp.rritoolkit.request
Class DomainCheckRequest

java.lang.Object
  extended by de.knipp.rritoolkit.request.Request
      extended by de.knipp.rritoolkit.request.DomainSimpleRequest
          extended by de.knipp.rritoolkit.request.DomainCheckRequest

public class DomainCheckRequest
extends DomainSimpleRequest

request to retrieve information about a given domain

Version:
$Revision: 14936 $
Author:
Klaus Malorny

Constructor Summary
DomainCheckRequest()
          constructor
DomainCheckRequest(java.lang.String theDomainName)
          constructor
DomainCheckRequest(java.lang.String theDomainName, java.lang.String theEncodedDomainName)
          constructor
 
Method Summary
 DomainCheckResponse 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
 
Methods inherited from class de.knipp.rritoolkit.request.DomainSimpleRequest
addAttributes, getDomainName, getEncodedDomainName, requestToKVList, requestToXml, setDomainName, setDomainName, toString
 
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
 

Constructor Detail

DomainCheckRequest

public DomainCheckRequest()
constructor


DomainCheckRequest

public DomainCheckRequest(java.lang.String theDomainName,
                          java.lang.String theEncodedDomainName)
constructor

Parameters:
theDomainName - the domain name
theEncodedDomainName - the encoded domain name, may be null for ASCII only domains

DomainCheckRequest

public DomainCheckRequest(java.lang.String theDomainName)
constructor

Parameters:
theDomainName - the domain name
Method Detail

execute

public DomainCheckResponse execute(Port port)
                            throws java.io.IOException
execute the this request on the given port.

Overrides:
execute in class Request
Parameters:
port - the port on which this request shall be executed
Returns:
the response
Throws:
java.io.IOException - if the execution failed

getRequestElementName

protected java.lang.String getRequestElementName()
return the XML element name

Specified by:
getRequestElementName in class DomainSimpleRequest
Returns:
the element name

getActionCode

protected java.lang.String getActionCode()
return the action string for this request

Specified by:
getActionCode in class Request
Returns:
the action string


Copyright © 2005-2011 Knipp Medien und Kommunikation GmbH