public interface JsonRpcService extends Service
| Modifier and Type | Field and Description | 
|---|---|
| static String | SERVICE_NAMETurbineJsonRpcService. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clearBridge(HttpSession session)Remove the  JSONRPCBridgefrom the session | 
| org.jabsorb.JSONRPCBridge | getBridge(HttpSession session)Get the  JSONRPCBridgefrom the session | 
| Object | processCall(CharArrayWriter cdata,
           org.jabsorb.JSONRPCBridge json_bridge,
           HttpServletRequest request)Process a JSON RPC call | 
| void | registerObject(HttpSession session,
              String key,
              Object value)Register an object with the  JSONRPCBridgein a given session | 
| void | registerObjectGlobal(String key,
                    Object value)Register an object with the  JSONRPCBridgeglobally | 
getConfiguration, getName, getProperties, setName, setServiceBrokerstatic final String SERVICE_NAME
Object processCall(CharArrayWriter cdata, org.jabsorb.JSONRPCBridge json_bridge, HttpServletRequest request)
cdata - the JSON datajson_bridge - the JSONRPCBridge objectrequest - the requestvoid registerObject(HttpSession session, String key, Object value)
JSONRPCBridge in a given sessionsession - the sessionkey - the name of the object in the sessionvalue - the object to register (not null)void registerObjectGlobal(String key, Object value)
JSONRPCBridge globallykey - the name of the object in the sessionvalue - the object to register (not null)org.jabsorb.JSONRPCBridge getBridge(HttpSession session)
JSONRPCBridge from the sessionsession - the sessionJSONRPCBridge instancevoid clearBridge(HttpSession session)
JSONRPCBridge from the sessionsession - the sessionCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.