org.apache.xmlrpc.client

Class XmlRpcClientRequestImpl

public class XmlRpcClientRequestImpl extends Object implements XmlRpcRequest

Default implementation of {@link org.apache.xmlrpc.XmlRpcRequest}.
Constructor Summary
XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, String pMethodName, Object[] pParams)
Creates a new instance.
XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, String pMethodName, List pParams)
Creates a new instance.
Method Summary
XmlRpcRequestConfiggetConfig()
StringgetMethodName()
ObjectgetParameter(int pIndex)
intgetParameterCount()

Constructor Detail

XmlRpcClientRequestImpl

public XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, String pMethodName, Object[] pParams)
Creates a new instance.

Parameters: pConfig The request configuration. pMethodName The method name being performed. pParams The parameters.

Throws: NullPointerException One of the parameters is null.

XmlRpcClientRequestImpl

public XmlRpcClientRequestImpl(XmlRpcRequestConfig pConfig, String pMethodName, List pParams)
Creates a new instance.

Parameters: pConfig The request configuration. pMethodName The method name being performed. pParams The parameters.

Throws: NullPointerException The method name or the parameters are null.

Method Detail

getConfig

public XmlRpcRequestConfig getConfig()

getMethodName

public String getMethodName()

getParameter

public Object getParameter(int pIndex)

getParameterCount

public int getParameterCount()
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.