Code example for DefaultHttpClient

Methods: addRequestInterceptorexecutegetCredentialsProvider