|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sr.server.json.JSONCaller
public class JSONCaller
This class is offers a convinient way to access and call java object methods with JSON object in a caller context.
Constructor Summary | |
---|---|
JSONCaller()
|
Method Summary | |
---|---|
JSONObject |
callAService(ICallerContextInfo<?> context,
JSONObject request)
Calls a java object method and returns the response |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONCaller()
Method Detail |
---|
public JSONObject callAService(ICallerContextInfo<?> context, JSONObject request) throws ServiceCallException
ICaller
callAService
in interface ICaller<JSONObject>
callAService
in interface IJSONCaller
context
- Caller context
ServiceCallException
ICaller.callAService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |