use of org.commonjava.o11yphant.jhttpc.SpanningHttpFactory in project indy by Commonjava.
the class IndyHttpProvider method setup.
@PostConstruct
public void setup() {
passwordManager = new org.commonjava.maven.galley.auth.AttributePasswordManager();
Optional<TraceManager> traceManagerOptional = traceManager == null ? Optional.empty() : Optional.of(traceManager);
http = new HttpImpl(passwordManager, traceManagerOptional);
httpFactory = new SpanningHttpFactory(new HttpFactory(new AttributePasswordManager(siteConfigLookup)), traceManagerOptional);
}
Aggregations