Bob Lee wrote:
On Fri, Jun 20, 2008 at 4:39 PM, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:
Coming to think of it, It seems perfectly okay to leave this decision up to
the individual handlers. Simple handlers might just thrown an exception on
all status codes but 200. More complex ones such as SOAP handler could
handle 500 status codes if the message contains an SOAP fault.
Want to put together a patch? ;-)
Sure. Want me to just add methods to HttpClient? We could build it as a
utility method instead...
Bob
I think it is perfectly fine to add a new execute method to the
HttpClient interface that takes ResponseHandler as an additional parameter.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]