org.apache.struts2.json.rpc
Class RPCResponse

java.lang.Object
  extended by org.apache.struts2.json.rpc.RPCResponse

public class RPCResponse
extends java.lang.Object

Class that will be serialized as a response to an RPC call


Constructor Summary
RPCResponse()
           
 
Method Summary
 java.lang.String getDebug()
           
 RPCError getError()
           
 java.lang.String getId()
           
 java.lang.Object getResult()
           
 void setDebug(java.lang.String debug)
           
 void setError(RPCError error)
           
 void setId(java.lang.String id)
           
 void setResult(java.lang.Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCResponse

public RPCResponse()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getResult

public java.lang.Object getResult()

setResult

public void setResult(java.lang.Object result)

getError

public RPCError getError()

setError

public void setError(RPCError error)

getDebug

public java.lang.String getDebug()

setDebug

public void setDebug(java.lang.String debug)


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.