public class SoapResponseHandler extends Object
限定符和类型 | 字段和说明 |
---|---|
protected static int |
FAILURE_MESSAGE |
protected static int |
FINISH_MESSAGE |
protected static int |
START_MESSAGE |
protected static int |
SUCCESS_MESSAGE |
构造器和说明 |
---|
SoapResponseHandler() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
handleMessage(Message msg) |
protected Message |
obtainMessage(int responseMessage,
Object response) |
void |
onFailure(String error) |
void |
onFinish() |
void |
onStart() |
void |
onSuccess(String content) |
protected void |
sendFailureMessage(String responseBody) |
protected void |
sendFinishMessage() |
protected void |
sendMessage(Message msg) |
protected void |
sendStartMessage() |
protected void |
sendSuccessMessage(String responseBody) |
protected static final int SUCCESS_MESSAGE
protected static final int FAILURE_MESSAGE
protected static final int START_MESSAGE
protected static final int FINISH_MESSAGE
public void onStart()
public void onFinish()
public void onSuccess(String content)
public void onFailure(String error)
protected void sendStartMessage()
protected void sendFinishMessage()
protected void sendSuccessMessage(String responseBody)
protected void sendFailureMessage(String responseBody)
protected void handleMessage(Message msg)
protected void sendMessage(Message msg)
protected Message obtainMessage(int responseMessage, Object response)