HttpClient.getCredentialsProvider().setCredentials(AuthScope.ANY, new
UsernamePasswordCredentials(userName,password));

What is the similar code to set those credentials for a single request in
HttpClient 4.x?

-- Eduardo

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco

Reply via email to