Raj
Raj

Reputation: 3061

Is There A HTTP Client Class For Java (Android)?

I am currently writing a Android application. I need to connect to a internet web server, send username/password credentials and accept cookies from the server for use for subsequent requests to the same server.

Do you know of a HTTP client class or anything I can use in the SDK that currently supports this?

Upvotes: 1

Views: 631

Answers (3)

Jochen Bedersdorfer
Jochen Bedersdorfer

Reputation: 4122

There is Resty and an Android version available on https://github.com/mravenel/Resty (DISCLAIMER: I'm the author)

Upvotes: 2

Paresh Mayani
Paresh Mayani

Reputation: 128428

DefaultHttpclient and HttpClient class are already there. You can use either one of this.

Upvotes: 6

nicholas.hauschild
nicholas.hauschild

Reputation: 42849

Do you mean HttpClient and its various implementors?

Upvotes: 3

Related Questions