类 DefaultClientResponse
java.lang.Object
com.github.xiaoymin.knife4j.aggre.core.executor.DefaultClientResponse
- 所有已实现的接口:
RouteResponse
- 从以下版本开始:
- 2.0.8
- 作者:
- xiaoymin@foxmail.com 2020/10/30 10:30
-
构造器概要
构造器构造器说明DefaultClientResponse(String uri, String error) DefaultClientResponse(String uri, String error, int httpCode) -
方法概要
-
构造器详细资料
-
DefaultClientResponse
-
DefaultClientResponse
-
-
方法详细资料
-
getHeaders
从接口复制的说明:RouteResponse获取响应头- 指定者:
getHeaders在接口中RouteResponse- 返回:
- 响应头列表
-
success
public boolean success()从接口复制的说明:RouteResponse是否请求成功- 指定者:
success在接口中RouteResponse- 返回:
- 请求成功
-
getStatusCode
public int getStatusCode()从接口复制的说明:RouteResponse获取响应状态码- 指定者:
getStatusCode在接口中RouteResponse- 返回:
- 响应状态码
-
getContentType
从接口复制的说明:RouteResponse获取响应类型- 指定者:
getContentType在接口中RouteResponse- 返回:
- 响应类型
-
getContentLength
从接口复制的说明:RouteResponse响应内容长度- 指定者:
getContentLength在接口中RouteResponse- 返回:
- 内容长度
-
getCharsetEncoding
从接口复制的说明:RouteResponse获取encoding- 指定者:
getCharsetEncoding在接口中RouteResponse- 返回:
- 字符集编码
-
getBody
从接口复制的说明:RouteResponse响应实体- 指定者:
getBody在接口中RouteResponse- 返回:
- 响应流
-
text
从接口复制的说明:RouteResponse获取text返回- 指定者:
text在接口中RouteResponse- 返回:
- 静态文本
-