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 and Description
    `RPCResponse()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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 Detail

    - #### RPCResponse

          public RPCResponse()

  - ### Method Detail

    - #### 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)

Copyright © 2000–2020 Apache Software Foundation. All rights reserved.