public interface ResponseHandler<T>
| 限定符和类型 | 方法和说明 |
|---|---|
HttpRestResult<T> |
handle(HttpClientResponse response)
handle response convert to HttpRestResult.
|
void |
setResponseType(Type responseType)
set response type.
|
void setResponseType(Type responseType)
responseType - responseTypeHttpRestResult<T> handle(HttpClientResponse response) throws Exception
response - http responseHttpRestResultException - exCopyright © 2018–2024 Alibaba Group. All rights reserved.