public class HttpResponse extends Object
| 构造器和说明 |
|---|
HttpResponse(HttpRequest request,
okhttp3.Response response,
String bodyStr) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBodyStr() |
<T> T |
getEntity(Class<T> returnType) |
<T> T |
getEntity(com.fasterxml.jackson.core.type.TypeReference returnType) |
String |
getHeader(String key) |
Map<String,String> |
getHeaders() |
int |
getHttpStatus() |
public HttpResponse(HttpRequest request, okhttp3.Response response, String bodyStr)
Copyright © 2021 Alibaba Cloud Computing. All rights reserved.