Package org.apache.struts2.json.rpc

# Class RPCResponse

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

public class RPCResponse extends Object
Class that will be serialized as a response to an RPC call

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RPCResponse()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDebug()`
  `RPCError`
  `getError()`
  `String`
  `getId()`
  `Object`
  `getResult()`
  `void`
  `setDebug(String debug)`
  `void`
  `setError(RPCError error)`
  `void`
  `setId(String id)`
  `void`
  `setResult(Object result)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RPCResponse

    public RPCResponse()

- ## Method Details

  - ### getId

    public String getId()

  - ### setId

    public void setId(String id)

  - ### getResult

    public Object getResult()

  - ### setResult

    public void setResult(Object result)

  - ### getError

    public RPCError getError()

  - ### setError

    public void setError(RPCError error)

  - ### getDebug

    public String getDebug()

  - ### setDebug

    public void setDebug(String debug)