public class ContactCheckResponse extends Response
Modifier and Type | Class and Description |
---|---|
static class |
ContactCheckResponse.State
enumeration for the different states
|
Response.Result
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
handle
the handle
|
private ContactCheckResponse.State |
state
the status
|
Constructor and Description |
---|
ContactCheckResponse() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ResponseVisitor visitor)
call the suitable method of the given visitor
|
protected void |
dataFromList(KVMultiList list)
subclasses that need to read additional data from the key-value pair
response should override this method.
|
protected void |
dataFromXml(org.w3c.dom.Element data)
subclasses that need to read additional data from the XML response should
override this method.
|
java.lang.String |
getHandle()
return the handle
|
ContactCheckResponse.State |
getState()
return the status
|
java.lang.String |
toString()
return a string representation for debugging purposes
|
fromList, fromXml, getClientTxnID, getResult, getResultMessages, getServerTxnID, isSuccess
private java.lang.String handle
private ContactCheckResponse.State state
protected void dataFromList(KVMultiList list) throws ResponseParseException
dataFromList
in class Response
list
- the listResponseParseException
- if the document does not contain the
expected contentprotected void dataFromXml(org.w3c.dom.Element data) throws org.w3c.dom.DOMException, ResponseParseException
dataFromXml
in class Response
data
- the data element or null
if the data contains no additional dataorg.w3c.dom.DOMException
- on DOM exceptionsResponseParseException
- if the document does not contain the
expected contentpublic void accept(ResponseVisitor visitor)
public java.lang.String toString()
public java.lang.String getHandle()
null
in case of an errorpublic ContactCheckResponse.State getState()
null
in case of an errorCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH