View RSS Feed

Apache Commons

HttpClient Exception handling

Rate this Entry
by , 02-24-2012 at 07:01 PM (892 Views)
Exception types which might be encountered to a HttpClient when HTTP methods are executed, are as following:

1. protocol exceptions
2. transport exceptions

In regular use of the HttpClient, all these exceptions would not propagate to user. Internally handled exceptions by HttpClient have been marked as internal.

I. Transport exceptions
II. HTTP transport safety
III. Protocol exceptions
IV. Custom exception handler
V. Automatic exception recovery

Submit "HttpClient Exception handling" to Facebook Submit "HttpClient Exception handling" to Digg Submit "HttpClient Exception handling" to del.icio.us Submit "HttpClient Exception handling" to StumbleUpon Submit "HttpClient Exception handling" to Google

Comments