|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectredstone.xmlrpc.XmlRpcInvocation
public class XmlRpcInvocation
Contains information about a particular invocation intercepted by an invocation processor. Invocation objects are only used on the server side, and only when calling on invocation processors.
Constructor Summary | |
---|---|
XmlRpcInvocation(int invocationId,
String handlerName,
String methodName,
XmlRpcInvocationHandler handler,
List arguments,
Writer writer)
|
Method Summary | |
---|---|
List |
getArguments()
Returns a list of arguments supplied in the invocation. |
XmlRpcInvocationHandler |
getHandler()
Returns the handler that will be or has been invoked. |
String |
getHandlerName()
Returns the name of the invocation handler targeted by the invocation. |
int |
getInvocationId()
A sequence number for tracing invocations between preProcess() and postProcess() calls. |
String |
getMethodName()
Returns the name of the method in the invocation handler targeted by the invocation. |
Writer |
getWriter()
Returns the writer that the response of the invocation will be written to. |
void |
setMethodName(String methodName)
Sets a new method name to be invoked instead of the original method name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcInvocation(int invocationId, String handlerName, String methodName, XmlRpcInvocationHandler handler, List arguments, Writer writer)
invocationId
- The unique identity of the invocation.handlerName
- The name of the handler that was invoked.methodName
- The name of the method within the handler that was invoked.handler
- The invocation handler that was invoked.arguments
- Arguments used in the invocation.writer
- The java.io.Writer that the response will be written over.Method Detail |
---|
public int getInvocationId()
public String getHandlerName()
public String getMethodName()
public void setMethodName(String methodName)
methodName
- The name of the method to user.public List getArguments()
public XmlRpcInvocationHandler getHandler()
public Writer getWriter()
XmlRpcInvocationInterceptor.after(XmlRpcInvocation, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |