bad.robot.http.configuration
Class BasicAuthCredentials

java.lang.Object
  extended by bad.robot.http.configuration.BasicAuthCredentials
All Implemented Interfaces:
AuthorisationCredentials, HttpClientSetting

public class BasicAuthCredentials
extends Object
implements AuthorisationCredentials


Method Summary
 void applyTo(ConfigurableHttpClient client)
           
static BasicAuthCredentials basicAuth(Username username, Password password, URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

basicAuth

public static BasicAuthCredentials basicAuth(Username username,
                                             Password password,
                                             URL url)

applyTo

public void applyTo(ConfigurableHttpClient client)
Specified by:
applyTo in interface HttpClientSetting


Copyright © 2012. All Rights Reserved.