类 DefaultHttpApiExecute<V>
java.lang.Object
com.iplatform.core.httpapi.AbstractApiExecute<P,V>
com.iplatform.core.httpapi.AbstractHttpApiExecute<Object,V>
com.iplatform.base.support.httpapi.DefaultHttpApiExecute<V>
- 类型参数:
V- 返回数据类型定义
- 所有已实现的接口:
ApiExecute<Object,V>
默认实现,使用
RestTemplate 完成http调用。- 作者:
- 时克英
-
字段概要
从类继承的字段 com.iplatform.core.httpapi.AbstractApiExecute
apiMethod, logger, url -
构造器概要
构造器 -
方法概要
从类继承的方法 com.iplatform.core.httpapi.AbstractHttpApiExecute
acquireGzipContent, getRequestAsText, invoke, setRequestAsText从类继承的方法 com.iplatform.core.httpapi.AbstractApiExecute
getApiParamList, getGzip, getId, getMethod, getResponseTypeClazz, getTranslate, getUrl, setApiParamList, setGzip, setId, setMethod, setResponseTypeClazz, setTranslate, setUrl
-
构造器详细资料
-
DefaultHttpApiExecute
public DefaultHttpApiExecute()
-
-
方法详细资料
-
getInvoke
protected com.walker.web.ResponseValue<V> getInvoke(String url, Object request, Class<V> responseType) - 指定者:
getInvoke在类中AbstractHttpApiExecute<Object,V>
-
postInvoke
- 指定者:
postInvoke在类中AbstractHttpApiExecute<Object,V>
-
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-