开发者

http posting and preserving session on android

开发者 https://www.devze.com 2023-02-23 13:08 出处:网络
I am working on an application that needs to be able to post to HTTPS and keep track of the session that is created by authenticating to the https server. Is there anythin开发者_如何学JAVAg in java an

I am working on an application that needs to be able to post to HTTPS and keep track of the session that is created by authenticating to the https server. Is there anythin开发者_如何学JAVAg in java and android that handles this better than just using the http methods offered by java? Like the HttpsURLConnection.

Thanks!


This depends on what you mean by "better". HTTPURLConnection works well for many cases but if this is not enough, you may look into HTTP Core from Apache. I understand that HTTP Core can work on Android.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号