2010-11-18 18 views

Odpowiedz

0

Można zrobić to statyczne i używać go we wszystkich żądań

client = new OkHttpClient(); // client will be static and use in all requests 

CookieManager cookieManager = new CookieManager(); 
cookieManager.setCookiePolicy(CookiePolicy.ACCEPT_ALL); 
client.setCookieHandler(cookieManager); 
Powiązane problemy