public interface HttpCallback
| Modifier and Type | Method and Description |
|---|---|
void |
failure(Exception e)
请求参数
|
void |
success(String result)
响应成功 200 >= http code < 300
|
void success(String result) throws IOException
result - 响应结果IOException - 异常OkHttp3AsyncImpl.exec(Request.Builder, HttpCallback),
HttpClientAsyncImpl#exec(HttpUriRequestBase, BasicRequestProducer, HttpCallback)void failure(Exception e)
e - 异常Copyright © 2022. All rights reserved.