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
HttpClient - apache commons

```

which method is best?