public class Call extends Object
| Constructor and Description |
|---|
Call(SerializerHandler serializerHandler,
String method)
Create a new method call with the given name and no parameters.
|
Call(SerializerHandler serializerHandler,
String method,
Object[] params)
Create a new method call with the given name and parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getXML(boolean debugMode)
Return an xml representation of the method call as specified in
http://www.xmlrpc.com/spec.
|
public Call(SerializerHandler serializerHandler, String method)
serializerHandler - You can inject an arbitrary one if you want to use your own transport protocol.
See the README (section "Using an arbitrary transport") for more info on this feature.method - The method to be called.public Call(SerializerHandler serializerHandler, String method, Object[] params)
serializerHandler - You can inject an arbitrary one if you want to use your own transport protocol.
See the README (section "Using an arbitrary transport") for more info on this feature.method - The method to be called.params - An array of parameters for the method.public String getXML(boolean debugMode) throws XMLRPCException
debugMode - This prints data on System.out to make it easy to debugXMLRPCException - Will be thrown whenever the xml representation cannot
be build without errors.XMLRPCClientCopyright © 2025. All rights reserved.