Java connecting to Http which method to use?
- by jax
I have been looking around at different ways to connect to URLs and there seem to be a few.
My requirements are to do POST and GET queries on a URL and retrieve the result.
I have seen
URL class
DefaultHttpClient class
And there were some others in apache commons
which method is best?