类 GtApiProxyFactory
- java.lang.Object
-
- com.getui.push.v2.sdk.core.factory.GtApiProxyFactory
-
public class GtApiProxyFactory extends Object
create by getui on 2020/6/4- 作者:
- getui
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classGtApiProxyFactory.ApiParamHTTP请求的参数static classGtApiProxyFactory.BaseParamHTTP请求的参数
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static GtApiProxyFactorybuild(DefaultApiClient defaultApiClient)voidclose()释放cache中的对象,但是此对象仍然可以使用,直到没有内存引用被回收<T> TcreateProxy(Class<T> apiService)创建代理对象voidsetGtApiRegistry(GtApiRegistry gtApiRegistry)
-
-
-
方法详细资料
-
setGtApiRegistry
public void setGtApiRegistry(GtApiRegistry gtApiRegistry)
-
build
public static GtApiProxyFactory build(DefaultApiClient defaultApiClient)
-
createProxy
public <T> T createProxy(Class<T> apiService)
创建代理对象- 类型参数:
T-- 参数:
apiService-- 返回:
-
close
public void close()
释放cache中的对象,但是此对象仍然可以使用,直到没有内存引用被回收
-
-