org.apache.xmlrpc.client
Class XmlRpcClientRequestImpl

java.lang.Object
  extended by org.apache.xmlrpc.client.XmlRpcClientRequestImpl
All Implemented Interfaces:
org.apache.xmlrpc.XmlRpcRequest

public class XmlRpcClientRequestImpl
extends java.lang.Object
implements org.apache.xmlrpc.XmlRpcRequest

Default implementation of XmlRpcRequest.


Constructor Summary
XmlRpcClientRequestImpl(org.apache.xmlrpc.XmlRpcRequestConfig pConfig, java.lang.String pMethodName, java.util.List pParams)
          Creates a new instance.
XmlRpcClientRequestImpl(org.apache.xmlrpc.XmlRpcRequestConfig pConfig, java.lang.String pMethodName, java.lang.Object[] pParams)
          Creates a new instance.
 
Method Summary
 org.apache.xmlrpc.XmlRpcRequestConfig getConfig()
           
 java.lang.String getMethodName()
           
 java.lang.Object getParameter(int pIndex)
           
 int getParameterCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRpcClientRequestImpl

public XmlRpcClientRequestImpl(org.apache.xmlrpc.XmlRpcRequestConfig pConfig,
                               java.lang.String pMethodName,
                               java.lang.Object[] pParams)
Creates a new instance.

Parameters:
pConfig - The request configuration.
pMethodName - The method name being performed.
pParams - The parameters.
Throws:
java.lang.NullPointerException - One of the parameters is null.

XmlRpcClientRequestImpl

public XmlRpcClientRequestImpl(org.apache.xmlrpc.XmlRpcRequestConfig pConfig,
                               java.lang.String pMethodName,
                               java.util.List pParams)
Creates a new instance.

Parameters:
pConfig - The request configuration.
pMethodName - The method name being performed.
pParams - The parameters.
Throws:
java.lang.NullPointerException - The method name or the parameters are null.
Method Detail

getMethodName

public java.lang.String getMethodName()
Specified by:
getMethodName in interface org.apache.xmlrpc.XmlRpcRequest

getParameterCount

public int getParameterCount()
Specified by:
getParameterCount in interface org.apache.xmlrpc.XmlRpcRequest

getParameter

public java.lang.Object getParameter(int pIndex)
Specified by:
getParameter in interface org.apache.xmlrpc.XmlRpcRequest

getConfig

public org.apache.xmlrpc.XmlRpcRequestConfig getConfig()
Specified by:
getConfig in interface org.apache.xmlrpc.XmlRpcRequest


Copyright © 2001-2007 The Apache Software Foundation. All Rights Reserved.