質問

I'm using loopj to talk to a rest server which has different HTTP response codes for specific successful responses (i.e 200, 202). The AsyncHttpResponseHandler has an onSuccess(String content) callback but nothing that returns the HTTP response code. How can I get this?

役に立ちましたか?

解決

Try

@Override    
public void onSuccess(int statusCode, String content) {
}
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top