public class XmlRpcClientRequestImpl extends Object implements XmlRpcRequest
XmlRpcRequest.| Constructor and Description |
|---|
XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig,
String pMethodName,
List pParams)
Creates a new instance.
|
XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig,
String pMethodName,
Object[] pParams)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
XmlRpcRequestConfig |
getConfig()
Returns the request configuration.
|
String |
getMethodName()
Returns the requests method name.
|
Object |
getParameter(int pIndex)
Returns the parameter with index
pIndex. |
int |
getParameterCount()
Returns the number of parameters.
|
public XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, String pMethodName, Object[] pParams)
pConfig - The request configuration.pMethodName - The method name being performed.pParams - The parameters.NullPointerException - One of the parameters is null.public XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, String pMethodName, List pParams)
pConfig - The request configuration.pMethodName - The method name being performed.pParams - The parameters.NullPointerException - The method name or the parameters are null.public String getMethodName()
XmlRpcRequestgetMethodName in interface XmlRpcRequestpublic int getParameterCount()
XmlRpcRequestgetParameterCount in interface XmlRpcRequestpublic Object getParameter(int pIndex)
XmlRpcRequestpIndex.getParameter in interface XmlRpcRequestpIndex - Number between 0 and XmlRpcRequest.getParameterCount()-1.public XmlRpcRequestConfig getConfig()
XmlRpcRequestgetConfig in interface XmlRpcRequestCopyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.