On 5 September 2011 19:44, Juergen Weber <[email protected]> wrote: > >> you're suggesting you wrap: HttpClient >> classes > HttpURLConnection > HessianConnection. I don't see the point >> in having HttpURLConnection in the mix. It adds an unnecessary level > > It's just my guess that HttpURLConnection is a commonly used class, so it > would offer itself to be replaced by another, better implementation.
Yes, it is used a lot, but the API is very limited. Replacing the implementation won't fix the API. I had a look a another http implementation a while ago, and it had an HttpURLConnection implementation. IIRC it needed a fair amount of wrapper code. And of course the result is not nearly as flexible. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
