1 16 17 18 package org.apache.xmlrpc; 19 20 import java.util.Vector ; 21 22 29 public class XmlRpcRequest 30 implements XmlRpcServerRequest, XmlRpcClientRequest 31 { 32 protected final String methodName; 33 protected final Vector parameters; 34 35 public XmlRpcRequest(String methodName, Vector parameters) 36 { 37 this.parameters = parameters; 38 this.methodName = methodName; 39 } 40 41 public int getParameterCount() 42 { 43 return parameters.size(); 44 } 45 46 public Vector getParameters() 47 { 48 return parameters; 49 } 50 51 public Object getParameter(int index) 52 { 53 return parameters.elementAt(index); 54 } 55 56 public String getMethodName() 57 { 58 return methodName; 59 } 60 } 61 | Popular Tags |