HttpClient 3.1 to 4.x API

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

HttpClient 3.1 to 4.x API

Postby guian » Tue Nov 18, 2008 3:56 pm

Hy !

I have a very simple question about HttpClient. Since Android SDK now use HttpClient v4.x, I Would like to find the HttpClient 4.x API.

the only one I found is the previous one :

Httpclient 3.1 API

http://hc.apache.org/httpclient-3.x/apidocs/index.html


Can somebody help me?
guian
Developer
Developer
 
Posts: 35
Joined: Tue Nov 18, 2008 3:43 pm

Top

found !

Postby guian » Tue Nov 18, 2008 5:08 pm

here is my answer.
I found finally this doc,

HttpClient 4.0-beta1 API :

http://hc.apache.org/httpcomponents-cli ... t/apidocs/

I'm looking now for how to replace the getResponseBodyAsStream(); method from the GetMethod class
and also, how to replace the releaseConection() method from the same GetMethod Class (HttpClient 3.1)

in HttpClient 4.0...

If you want to help me ... ;)
guian
Developer
Developer
 
Posts: 35
Joined: Tue Nov 18, 2008 3:43 pm

:)

Postby guian » Tue Nov 18, 2008 6:13 pm

a very helpful page for those who have the sae problem :

http://wiki.apache.org/jakarta-httpclie ... vsHttpCore

from the HttpClient webSite.

I'm still looking for how to replacegetResponseBodyAsStream();, the solution we can see there seems quite heavy... I'll try it tomorow...
guian
Developer
Developer
 
Posts: 35
Joined: Tue Nov 18, 2008 3:43 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests