public class XmlRpcUtil
extends Object
Constructor and Description |
---|
XmlRpcUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
buildMethod(String methodName,
Object[] arguments) |
static Fault |
createFault(int code,
String description) |
static Success |
createSuccess(String description) |
static com.liferay.portal.kernel.xmlrpc.Response |
executeMethod(String url,
String methodName,
Object[] arguments) |
static com.liferay.portal.kernel.util.Tuple |
parseMethod(String xml) |
static com.liferay.portal.kernel.xmlrpc.Response |
parseResponse(String xml) |
static String |
wrapValue(Object value) |
public static String buildMethod(String methodName, Object[] arguments) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException
com.liferay.portal.kernel.xmlrpc.XmlRpcException
public static Fault createFault(int code, String description)
public static Success createSuccess(String description)
public static com.liferay.portal.kernel.xmlrpc.Response executeMethod(String url, String methodName, Object[] arguments) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException
com.liferay.portal.kernel.xmlrpc.XmlRpcException
public static com.liferay.portal.kernel.util.Tuple parseMethod(String xml) throws IOException
IOException
public static com.liferay.portal.kernel.xmlrpc.Response parseResponse(String xml) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException
com.liferay.portal.kernel.xmlrpc.XmlRpcException
public static String wrapValue(Object value) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException
com.liferay.portal.kernel.xmlrpc.XmlRpcException