接口 GtApiRegistry
-
- 所有已知实现类:
DefaultGtApiRegistry
public interface GtApiRegistrycreate by getui on 2020/6/8- 作者:
- getui
-
-
方法详细资料
-
register
void register(Method method)
注册, 解析出HTTP请求方法、路径、返回值类型等并缓存- 参数:
method-
-
get
GtApiProxyFactory.BaseParam get(Method method)
获取缓存的方法信息,如果没有缓存则解析并缓存- 参数:
method- 方法- 返回:
-
-