类 AbstractApiExecute<P,V>
java.lang.Object
com.iplatform.core.httpapi.AbstractApiExecute<P,V>
- 所有已实现的接口:
ApiExecute<P,V>
- 直接已知子类:
AbstractHttpApiExecute
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleangetGzip()getId()getUrl()voidsetApiParamList(List<ApiParam> apiParamList) voidsetGzip(boolean gzip) 设置远程服务返回结果是否使用Gzip压缩void设置接口标识(唯一)voidvoidsetResponseTypeClazz(String responseTypeClazz) voidsetTranslate(RequestTranslate translate) 设置请求转换器对象,对输入参数或输出变换适配。void设置访问地址,无论get或post,url地址是确定的,不带问号之后的参数。从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.iplatform.core.httpapi.ApiExecute
getRequestAsText, invoke
-
字段详细资料
-
logger
protected final transient org.slf4j.Logger logger -
url
-
apiMethod
-
-
构造器详细资料
-
AbstractApiExecute
public AbstractApiExecute()
-
-
方法详细资料
-
setMethod
- 指定者:
setMethod在接口中ApiExecute<P,V>
-
getMethod
- 指定者:
getMethod在接口中ApiExecute<P,V>
-
getId
- 指定者:
getId在接口中ApiExecute<P,V>
-
setId
从接口复制的说明:ApiExecute设置接口标识(唯一)- 指定者:
setId在接口中ApiExecute<P,V>
-
getTranslate
- 指定者:
getTranslate在接口中ApiExecute<P,V>
-
setTranslate
从接口复制的说明:ApiExecute设置请求转换器对象,对输入参数或输出变换适配。- 指定者:
setTranslate在接口中ApiExecute<P,V>
-
getApiParamList
- 指定者:
getApiParamList在接口中ApiExecute<P,V>
-
setApiParamList
-
getResponseTypeClazz
- 指定者:
getResponseTypeClazz在接口中ApiExecute<P,V>
-
setResponseTypeClazz
-
getGzip
public boolean getGzip()- 指定者:
getGzip在接口中ApiExecute<P,V>
-
setGzip
public void setGzip(boolean gzip) 从接口复制的说明:ApiExecute设置远程服务返回结果是否使用Gzip压缩- 指定者:
setGzip在接口中ApiExecute<P,V>
-
getUrl
- 指定者:
getUrl在接口中ApiExecute<P,V>
-
setUrl
从接口复制的说明:ApiExecute设置访问地址,无论get或post,url地址是确定的,不带问号之后的参数。如:http://demo.com:8082/test/java
- 指定者:
setUrl在接口中ApiExecute<P,V>
-