@@ -0,0 +1,1564 @@
+// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.%0Apackage com.yahoo.search.federation.http;%0A%0Aimport java.util.Collections;%0A%0Aimport com.yahoo.component.ComponentId;%0Aimport com.yahoo.search.federation.ProviderConfig;%0Aimport com.yahoo.search.Result;%0Aimport com.yahoo.search.searchchain.Execution;%0Aimport com.yahoo.statistics.Statistics;%0A%0A%0A/**%0A * Superclass for http client searchers which depends on config. All this is doing is translating%0A * the provider and cache configurations to parameters which are passed upwards.%0A *%0A * @author bratseth%0A */%0A@Deprecated%0Apublic abstract class ConfiguredHTTPClientSearcher extends HTTPClientSearcher %7B%0A%0A    /** Create this from a configuraton */%0A    public ConfiguredHTTPClientSearcher(final ComponentId id, final ProviderConfig providerConfig, Statistics manager) %7B%0A        super(id, ConfiguredSearcherHelper.toConnectionList(providerConfig), new HTTPParameters(providerConfig), manager);%0A    %7D%0A%0A    /** Create an instance from direct parameters having a single connection. Useful for testing */%0A    public ConfiguredHTTPClientSearcher(String idString,String host,int port,String path, Statistics manager) %7B%0A        super(new ComponentId(idString), Collections.singletonList(new Connection(host,port)),path, manager);%0A    %7D%0A%0A    /** Forwards to the next in chain fill(result,summaryName) */%0A    @Override%0A    public void fill(Result result,String summaryName, Execution execution,Connection connection) %7B%0A        execution.fill(result,summaryName);%0A    %7D%0A%0A%7D%0A

Revert "Remove ConfiguredHttpClientSearcher"