use of com.yahoo.vespa.model.container.search.searchchain.HttpProviderSearcher in project vespa by vespa-engine.
the class DomProviderBuilder method buildHttpProvider.
private Provider buildHttpProvider(ChainSpecification specWithoutInnerSearchers, ProviderReader providerReader, FederationOptions federationOptions) {
ensureEmpty(specWithoutInnerSearchers.componentId, providerReader.clusterName);
Provider httpProvider = buildEmptyHttpProvider(specWithoutInnerSearchers, providerReader, federationOptions);
httpProvider.addInnerComponent(new HttpProviderSearcher(new ChainedComponentModel(HttpProviderSpec.toBundleInstantiationSpecification(HttpProviderSpec.Type.valueOf(providerReader.type)), Dependencies.emptyDependencies())));
return httpProvider;
}
Aggregations