cz.eman.jsonrpc.shared.bo
Class JsonRpcNormalResponse
java.lang.Object
cz.eman.jsonrpc.shared.bo.JsonRpcNormalResponse
- All Implemented Interfaces:
- JsonRpcResponse, java.io.Serializable
public class JsonRpcNormalResponse
- extends java.lang.Object
- implements java.io.Serializable, JsonRpcResponse
Json-rpc response object acording to json-rpc 2.0 specifications
- Author:
- Karel Hovorka
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JsonRpcNormalResponse
public JsonRpcNormalResponse()
getJsonrpc
public java.lang.String getJsonrpc()
- Specified by:
getJsonrpc
in interface JsonRpcResponse
setJsonrpc
public void setJsonrpc(java.lang.String jsonrpc)
- Specified by:
setJsonrpc
in interface JsonRpcResponse
getResult
public org.codehaus.jackson.JsonNode getResult()
setResult
public void setResult(org.codehaus.jackson.JsonNode result)
getId
public java.lang.String getId()
- Specified by:
getId
in interface JsonRpcResponse
setId
public void setId(java.lang.String id)
- Specified by:
setId
in interface JsonRpcResponse
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object