org.apache.xmlrpc

Interface XmlRpcRequest

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
XmlRpcRequestConfiggetConfig()
Returns the request configuration.
StringgetMethodName()
Returns the requests method name.
ObjectgetParameter(int pIndex)
Returns the parameter with index pIndex.
intgetParameterCount()
Returns the number of parameters.

Method Detail

getConfig

public XmlRpcRequestConfig getConfig()
Returns the request configuration.

Returns: The request configuration.

getMethodName

public String getMethodName()
Returns the requests method name.

Returns: Name of the method being invoked.

getParameter

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

Parameters: pIndex Number between 0 and {@link #getParameterCount()}-1.

Returns: Parameter being sent to the server.

getParameterCount

public int getParameterCount()
Returns the number of parameters.

Returns: Number of parameters.

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