安卓的Htt presponse响应codeHtt、presponse、code

2023-09-06 14:58:50 作者:眼泪不代表懦弱°

我想获得响应code为Htt的preponse。有没有方法直接获得响应code。

I am trying to get the response code for the HttpReponse. There is no method for get the response code directly.

推荐答案

Htt$p$psponse.getStatusLine().getStatus$c$c()是你所期待的。