Hi all,

I am new to HttpClient and was reading through its "Getting started" section. What 
struck me immediately is that HttpMethods are full-fledged objects of their own in 
HttpClient. I think this is a great idea.

However, I don't understand why HttpClient couldn't have something like a HttpResponse 
object that is returned when execute() is called. It just seems a bit kludgy to call 
getResponse() on the HttpMethod object itself.

Was there a design reason on why this was done ?

PLUS: I am enjoying this library. Thank you for it!

Regards,
Tarun
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

                Visit us at http://www.cognizant.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to