Code example for DefaultHttpClient

Methods: addRequestInterceptor, execute, getCredentialsProvider