com.liferay.portal.jsonwebservice
Class JSONRPCResponse

java.lang.Object
  extended by com.liferay.portal.jsonwebservice.JSONRPCResponse
All Implemented Interfaces:
com.liferay.portal.kernel.json.JSONSerializable

public class JSONRPCResponse
extends java.lang.Object
implements com.liferay.portal.kernel.json.JSONSerializable

Author:
Igor Spasic

Nested Class Summary
 class JSONRPCResponse.Error
           
 
Constructor Summary
JSONRPCResponse(JSONRPCRequest jsonRpcRequest, java.lang.Object result, java.lang.Exception exception)
           
 
Method Summary
 java.lang.String toJSONString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONRPCResponse

public JSONRPCResponse(JSONRPCRequest jsonRpcRequest,
                       java.lang.Object result,
                       java.lang.Exception exception)
Method Detail

toJSONString

public java.lang.String toJSONString()
Specified by:
toJSONString in interface com.liferay.portal.kernel.json.JSONSerializable