public class XMLRPC extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
createMethodCall(String name,
Collection params)
Build an XML-RPC method call.
|
static Object |
parseResponse(byte[] response)
Parse an XML-RPC method response.
|
public static byte[] createMethodCall(String name, Collection params) throws DOMException
IllegalArgumentException if the params
contains an object that's incompatible with XML-RPC.name - Name of the method to call.params - Parameters to pass to the call.DOMException - If we can't construct the call.public static Object parseResponse(byte[] response) throws XMLRPCFault
response - The response data.XMLRPCFault - If the response contained a fault.Copyright © 1999–2017 Apache OODT. All rights reserved.