public interface XmlRpcRequest
XmlRpcRequest
object representing a XML-RPC request to be sent.Modifier and Type | Method and Description |
---|---|
void |
addIntArg(int value)
Add an integer argument to an XML-RPC request.
|
void |
addListener(XmlRpcRequestListener listener) |
void |
addStringArg(java.lang.String value)
Add a string argument to an XML-RPC request.
|
java.lang.String |
getContent()
Get the content of the XML-RPC request.
|
int |
getIntResponse()
Get the response to an XML-RPC request sent with
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest) and returning an integer response. |
java.lang.String |
getRawResponse()
Get the raw response to an XML-RPC request sent with
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest) and returning http body as string. |
XmlRpcStatus |
getStatus()
Get the status of the XML-RPC request.
|
java.lang.String |
getStringResponse()
Get the response to an XML-RPC request sent with
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest) and returning a string response. |
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
void |
removeListener(XmlRpcRequestListener listener) |
void |
setListener(XmlRpcRequestListener listener) |
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
java.lang.String getContent()
int getIntResponse()
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest)
and returning an integer response.java.lang.String getRawResponse()
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest)
and returning http body as string.XmlRpcStatus getStatus()
java.lang.String getStringResponse()
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest)
and returning a string response.void addIntArg(int value)
value
- The integer value of the added argument.void addStringArg(java.lang.String value)
value
- The string value of the added argument.void addListener(XmlRpcRequestListener listener)
void removeListener(XmlRpcRequestListener listener)
void setListener(XmlRpcRequestListener listener)
void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()