Code example for DefaultHttpClient

Methods: getCredentialsProvider