public class ContactCheckRequest extends Request
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
handle
the handle
|
Constructor and Description |
---|
ContactCheckRequest()
constructor
|
ContactCheckRequest(java.lang.String theHandle)
constructor
|
Modifier and Type | Method and Description |
---|---|
ContactCheckResponse |
execute(Port port)
execute the this request on the given port.
|
protected java.lang.String |
getActionCode()
return the action string for this request
|
java.lang.String |
getHandle()
return the handle
|
protected void |
requestToKVList(KVList list)
method that needs to be implemented by subclasses for the
key-value list conversion
|
protected void |
requestToXml(org.w3c.dom.Node node)
method that needs to be implemented by subclasses for the XML conversion
|
void |
setHandle(java.lang.String theHandle)
set the handle
|
java.lang.String |
toString()
return a string representation for debugging purposes
|
getClientTxnID, getProtocolVersion, setClientTxnID, toList, toXml
public ContactCheckRequest()
public ContactCheckRequest(java.lang.String theHandle)
theHandle
- the handlepublic ContactCheckResponse execute(Port port) throws java.io.IOException
protected void requestToXml(org.w3c.dom.Node node) throws org.w3c.dom.DOMException, EncodeException
requestToXml
in class Request
node
- the node where the request shall be added toorg.w3c.dom.DOMException
- on DOM exceptionsEncodeException
- 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 Request
list
- the list that has to be filledEncodeException
- if the encoding fails for some reasonpublic java.lang.String toString()
public java.lang.String getHandle()
public void setHandle(java.lang.String theHandle)
theHandle
- the handleCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH