Public 成员函数 | |
| AbHttpResponseListener () | |
| abstract void | onStart () |
| abstract void | onFinish () |
| void | onRetry () |
| abstract void | onFailure (int statusCode, String content, Throwable error) |
| void | onProgress (int bytesWritten, int totalSize) |
| void | sendStartMessage () |
| void | sendFinishMessage () |
| void | sendProgressMessage (int bytesWritten, int totalSize) |
| void | sendFailureMessage (int statusCode, String content, Throwable error) |
| void | sendRetryMessage () |
| void | sendMessage (Message msg) |
| Handler | getHandler () |
| void | setHandler (Handler handler) |
Protected 成员函数 | |
| Message | obtainMessage (int responseMessage, Object response) |
Private 属性 | |
| Handler | mHandler |
© 2012 amsoft.cn 名称:AbHttpResponseListener.java 描述:Http响应监听器
|
inline |
构造.
|
inline |
Gets the handler.
|
inlineprotected |
构造Message.
| responseMessage | the response message |
| response | the response |
|
abstract |
描述:失败,调用.
| statusCode | the status code |
| content | the content |
| error | the error |
|
abstract |
完成后调用,失败,成功,调用.
|
inline |
进度.
| bytesWritten | the bytes written |
| totalSize | the total size |
|
inline |
重试.
|
abstract |
描述:获取数据开始.
|
inline |
失败消息.
| statusCode | the status code |
| content | the content |
| error | the error |
|
inline |
完成消息.
|
inline |
发送消息.
| msg | the msg |
|
inline |
进度消息.
| bytesWritten | the bytes written |
| totalSize | the total size |
|
inline |
重试消息.
|
inline |
开始消息.
|
inline |
描述:设置Handler.
| handler | the new handler |
|
private |
The handler.
1.8.8