Android的HttpClient的饼干 [英] Android HttpClient Cookie

查看:198
本文介绍了Android的HttpClient的饼干的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

难道Android的HttpClient的具有自动管理饼干?

Does Android HttpClient has auto-management for cookies?

推荐答案

它支持它。

读的帖子下面,好像你必须调用execute时,传递相同的HttpContext。

Reading the posts below it seems like you have to pass the same HttpContext when calling execute.

response = httpClient.execute(httpPost,localContext); 

究竟是如何做的就是在这个岗位:<一href="http://stackoverflow.com/questions/874227/android-project-using-httpclient-http-client-apache-post-get-method/903387#903387">Android使用项目的HttpClient - > http.client(阿帕奇),交/ get方法

<一个href="http://stackoverflow.com/questions/3587254/how-do-i-manage-cookies-with-httpclient-in-android-and-or-java">How我在Android中管理Cookie与HttpClient的和/或Java?

这篇关于Android的HttpClient的饼干的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆