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()
XmlRpcRequest
getMethodName
in interface XmlRpcRequest
public int getParameterCount()
XmlRpcRequest
getParameterCount
in interface XmlRpcRequest
public Object getParameter(int pIndex)
XmlRpcRequest
pIndex
.getParameter
in interface XmlRpcRequest
pIndex
- Number between 0 and XmlRpcRequest.getParameterCount()
-1.public XmlRpcRequestConfig getConfig()
XmlRpcRequest
getConfig
in interface XmlRpcRequest
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.