public static class LBHttpSolrClient.Builder extends Object
LBHttpSolrClient instances from provided configuration.| Constructor and Description | 
|---|
| Builder() | 
| Modifier and Type | Method and Description | 
|---|---|
| LBHttpSolrClient | build()Create a  HttpSolrClientbased on provided configuration. | 
| LBHttpSolrClient.Builder | withBaseSolrUrl(String baseSolrUrl)Provide a Solr endpoint to be used when configuring  LBHttpSolrClientinstances. | 
| LBHttpSolrClient.Builder | withBaseSolrUrls(String... solrUrls)Provide Solr endpoints to be used when configuring  LBHttpSolrClientinstances. | 
| LBHttpSolrClient.Builder | withHttpClient(org.apache.http.client.HttpClient httpClient)Provides a  HttpClientfor the builder to use when creating clients. | 
| LBHttpSolrClient.Builder | withResponseParser(ResponseParser responseParser)Provides a  ResponseParserfor created clients to use when handling requests. | 
public LBHttpSolrClient.Builder withBaseSolrUrl(String baseSolrUrl)
LBHttpSolrClient instances.
 
 Method may be called multiple times.  All provided values will be used.public LBHttpSolrClient.Builder withBaseSolrUrls(String... solrUrls)
LBHttpSolrClient instances.
 
 Method may be called multiple times.  All provided values will be used.public LBHttpSolrClient.Builder withHttpClient(org.apache.http.client.HttpClient httpClient)
HttpClient for the builder to use when creating clients.public LBHttpSolrClient.Builder withResponseParser(ResponseParser responseParser)
ResponseParser for created clients to use when handling requests.public LBHttpSolrClient build()
HttpSolrClient based on provided configuration.Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.