Code example for DefaultHttpClient

Methods: addRequestInterceptor, addResponseInterceptor, setHttpRequestRetryHandler