public class Call
extends java.lang.Object
| Constructor and Description |
|---|
Call(java.lang.String method)
Create a new method call with the given name and no parameters.
|
Call(java.lang.String method,
java.lang.Object[] params)
Create a new method call with the given name and parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getXML()
Return an xml representation of the method call as specified in
http://www.xmlrpc.com/spec.
|
public Call(java.lang.String method)
method - The method to be called.public Call(java.lang.String method,
java.lang.Object[] params)
method - The method to be called.params - An array of parameters for the method.public java.lang.String getXML()
throws XMLRPCException
XMLRPCException - Will be thrown whenever the xml representation cannot
be build without errors.XMLRPCClient