Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 loopj 与具有不同 HTTP 响应代码的休息服务器通信,以用于特定的成功响应(即 200、202)。AsyncHttpResponseHandler 有一个 onSuccess(String content) 回调,但没有返回 HTTP 响应代码。我怎样才能得到这个?
尝试
@Override public void onSuccess(int statusCode, String content) { }