类 RpcServiceImpl
java.lang.Object
com.hengyi.xbaseweb.system.rpc.impl.RpcServiceImpl
- 所有已实现的接口:
IRpcService
Author: dongzp
Time: 2020/2/23 12:08
Project: xbaseweb-plus
Email: 90fanhua@gmail.com
Remarks: 远程调用服务实现
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明请求<T> Tinvoke(String gateway, String serviceName, Map<String, String> header, Map<String, Object> body, com.alibaba.fastjson2.TypeReference<T> type) 请求返回实体请求<T> TinvokeGet(String gateway, String serviceName, Map<String, String> header, Map<String, Object> params, com.alibaba.fastjson2.TypeReference<T> type) 请求返回实体
-
构造器详细资料
-
RpcServiceImpl
public RpcServiceImpl()
-
-
方法详细资料
-
invoke
public String invoke(String gateway, String serviceName, Map<String, String> header, Map<String, throws XBaseRuntimeExceptionObject> body) 从接口复制的说明:IRpcService请求- 指定者:
invoke在接口中IRpcService- 返回:
- 抛出:
XBaseRuntimeException
-
invoke
public <T> T invoke(String gateway, String serviceName, Map<String, String> header, Map<String, throws XBaseRuntimeExceptionObject> body, com.alibaba.fastjson2.TypeReference<T> type) 从接口复制的说明:IRpcService请求返回实体- 指定者:
invoke在接口中IRpcService- 返回:
- 抛出:
XBaseRuntimeException
-
invokeGet
public String invokeGet(String gateway, String serviceName, Map<String, String> header, Map<String, throws XBaseRuntimeExceptionObject> params) 从接口复制的说明:IRpcService请求- 指定者:
invokeGet在接口中IRpcService- 返回:
- 抛出:
XBaseRuntimeException
-
invokeGet
public <T> T invokeGet(String gateway, String serviceName, Map<String, String> header, Map<String, throws XBaseRuntimeExceptionObject> params, com.alibaba.fastjson2.TypeReference<T> type) 从接口复制的说明:IRpcService请求返回实体- 指定者:
invokeGet在接口中IRpcService- 返回:
- 抛出:
XBaseRuntimeException
-