org.apache.xmlrpc
Interface XmlRpcRequest

All Known Implementing Classes:
XmlRpcClientRequestImpl

public interface XmlRpcRequest

Interface to an XML-RPC request made by a client. Replaces the class org.apache.xmlrpc.XmlRpcClientRequest from Apache XML-RPC 2.0.

Since:
3.0

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.
 

Method Detail

getConfig

XmlRpcRequestConfig getConfig()
Returns the request configuration.

Returns:
The request configuration.

getMethodName

java.lang.String getMethodName()
Returns the requests method name.

Returns:
Name of the method being invoked.

getParameterCount

int getParameterCount()
Returns the number of parameters.

Returns:
Number of parameters.

getParameter

java.lang.Object getParameter(int pIndex)
Returns the parameter with index pIndex.

Parameters:
pIndex - Number between 0 and getParameterCount()-1.
Returns:
Parameter being sent to the server.


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