Package com.xxl.tool.jsonrpc
Class JsonRpcServer
java.lang.Object
com.xxl.tool.jsonrpc.JsonRpcServer
json-rpc server
- Author:
- xuxueli
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke (with origin data)static JsonRpcServerregister serviceregister service
-
Constructor Details
-
JsonRpcServer
public JsonRpcServer()
-
-
Method Details
-
newServer
-
register
register service- Parameters:
service- the service nameserviceInstance- the service instance
-
register
register service- Parameters:
initServiceStore- the service store
-
invoke
invoke (with origin data)- Parameters:
requestBody- the request body- Returns:
- the response body
-