use of org.commonjava.util.jhttpc.HttpFactory in project indy by Commonjava.
the class AbstractKojiIT method setupKojiBase.
@Before
public void setupKojiBase() {
System.out.println("\n\n #### SETUP: " + name.getMethodName() + " #### \n\n");
passwordManager = new MemoryPasswordManager();
factory = new HttpFactory(passwordManager);
System.out.println("\n\n #### START: " + name.getMethodName() + " #### \n\n");
String buildDir = System.getProperty("project.build.directory", "target");
downloadDir = Paths.get(buildDir, "downloads", name.getMethodName()).toFile();
downloadDir.mkdirs();
}
use of org.commonjava.util.jhttpc.HttpFactory in project indy by Commonjava.
the class IndyHttpProvider method setup.
@PostConstruct
public void setup() {
passwordManager = new org.commonjava.maven.galley.auth.AttributePasswordManager();
http = new HttpImpl(passwordManager);
httpFactory = new HttpFactory(new AttributePasswordManager(siteConfigLookup));
}
Aggregations