View RSS Feed

Apache Commons

Apache Commons lang, logging, HttpClient etc.

  1. HttpClient Exception handling

    by , 02-24-2012 at 07:01 PM
    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. ...