@FunctionalInterface public interface HttpClientResponseHandler<T>
ClassicHttpResponse.| 限定符和类型 | 方法和说明 |
|---|---|
T |
handleResponse(ClassicHttpResponse response)
Processes an
ClassicHttpResponse and returns some value
corresponding to that response. |
T handleResponse(ClassicHttpResponse response) throws HttpException, IOException
ClassicHttpResponse and returns some value
corresponding to that response.response - The response to processIOException - in case of a problem or the connection was abortedHttpExceptionCopyright © 2023. All rights reserved.