android-async-http 前台怎么接收后台传入的数据

ahc.post(this,path,params,new TextHttpResponseHandler() {
@Override
public void onFailure(int i, org.apache.http.Header[] headers, String s, Throwable throwable) {
Toast.makeText(OutStoreActivity.this,"上传数据失败",Toast.LENGTH_SHORT);
}
@Override
public void onSuccess(int i, org.apache.http.Header[] headers, String s) {
//接受到后台数据后的操作
Log.i("接收的数据", s);

            update();

        }
    });

https://www.cnblogs.com/clear5/p/4564072.html