public interface ResponseHandler<T>
HttpResponse生成响应对象的过程 。
| Modifier and Type | Method and Description |
|---|---|
T |
handleResponse(HttpResponse response)
处理 HttpResponse并返回与该响应相对应的一些值。
|
T handleResponse(HttpResponse response) throws ClientProtocolException, IOException
HttpResponse并返回与该响应相对应的一些值。
response - 对过程的响应
ClientProtocolException - 在http协议错误的情况下
IOException - 出现问题或连接中断时
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.