T - 业务返回体类型public final class HttpResponse<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpResponse.Builder<T> |
| Modifier and Type | Method and Description |
|---|---|
ResponseBody |
getBody()
获取返回体
|
HttpHeaders |
getHeaders()
获取返回头
|
HttpRequest |
getRequest()
获取返回对应的请求
|
T |
getServiceResponse()
获取业务返回
|
java.lang.String |
toString() |
public HttpHeaders getHeaders()
public HttpRequest getRequest()
public ResponseBody getBody()
public T getServiceResponse()
public java.lang.String toString()
toString in class java.lang.Object