类 StringResponseHandler
java.lang.Object
com.alibaba.nacos.common.http.client.handler.AbstractResponseHandler<String>
com.alibaba.nacos.common.http.client.handler.StringResponseHandler
- 所有已实现的接口:
ResponseHandler<String>
string response handler, Mainly converter response type as string type.
- 作者:
- mai.jh
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明convertResult(HttpClientResponse response, Type responseType)Abstract convertResult method, Different types of converters for expansion.从类继承的方法 com.alibaba.nacos.common.http.client.handler.AbstractResponseHandler
handle, setResponseType
-
构造器详细资料
-
StringResponseHandler
public StringResponseHandler()
-
-
方法详细资料
-
convertResult
public HttpRestResult<String> convertResult(HttpClientResponse response, Type responseType) throws Exception从类复制的说明:AbstractResponseHandlerAbstract convertResult method, Different types of converters for expansion.- 指定者:
convertResult在类中AbstractResponseHandler<String>- 参数:
response- http client responseresponseType- responseType- 返回:
- HttpRestResult
- 抛出:
Exception- ex
-