|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.client.XmlRpcClientRequestImpl
public class XmlRpcClientRequestImpl
Default implementation of
XmlRpcRequest
.
Constructor Summary | |
---|---|
XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig,
java.lang.String pMethodName,
java.util.List pParams)
Creates a new instance. |
|
XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig,
java.lang.String pMethodName,
java.lang.Object[] pParams)
Creates a new instance. |
Method Summary | |
---|---|
XmlRpcRequestConfig |
getConfig()
Returns the request configuration. |
java.lang.String |
getMethodName()
Returns the requests method name. |
java.lang.Object |
getParameter(int pIndex)
Returns the parameter with index pIndex . |
int |
getParameterCount()
Returns the number of parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, java.lang.String pMethodName, java.lang.Object[] pParams)
pConfig
- The request configuration.pMethodName
- The method name being performed.pParams
- The parameters.
java.lang.NullPointerException
- One of the parameters is null.public XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, java.lang.String pMethodName, java.util.List pParams)
pConfig
- The request configuration.pMethodName
- The method name being performed.pParams
- The parameters.
java.lang.NullPointerException
- The method name or the parameters are null.Method Detail |
---|
public java.lang.String getMethodName()
XmlRpcRequest
getMethodName
in interface XmlRpcRequest
public int getParameterCount()
XmlRpcRequest
getParameterCount
in interface XmlRpcRequest
public java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |