public interface XmlRpcRequest
Modifier and Type | Method | 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[] |
getListResponse() |
Get the response to an XML-RPC request sent with
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest) and returning a string response. |
long |
getNativePointer() |
Gets the native pointer used by this class to make native method calls.
|
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 |
setUserData(java.lang.Object data) |
Sets the object to store in this object user's data
|
java.lang.String |
toString() |
@Nullable java.lang.String getContent()
int getIntResponse()
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest)
@NonNull java.lang.String[] getListResponse()
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest)
@Nullable java.lang.String getRawResponse()
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest)
XmlRpcStatus getStatus()
XmlRpcStatus
of the XML-RPC request. @Nullable java.lang.String getStringResponse()
XmlRpcSession.sendRequest(org.linphone.core.XmlRpcRequest)
void addIntArg(int value)
value
- The integer value of the added argument. void addStringArg(@NonNull java.lang.String value)
value
- The string value of the added argument. void addListener(XmlRpcRequestListener listener)
void removeListener(XmlRpcRequestListener listener)
void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString
in class java.lang.Object