Class SolrHttpClientBuilder
- java.lang.Object
-
- org.apache.solr.client.solrj.impl.SolrHttpClientBuilder
-
public class SolrHttpClientBuilder extends Object
Builder class for configuring internal HttpClients. This relies on the internal HttpClient implementation and is subject to change.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SolrHttpClientBuilder.AuthSchemeRegistryProvider
static interface
SolrHttpClientBuilder.CookieSpecRegistryProvider
static interface
SolrHttpClientBuilder.CredentialsProviderProvider
static interface
SolrHttpClientBuilder.HttpRequestInterceptorProvider
-
Constructor Summary
Constructors Modifier Constructor Description protected
SolrHttpClientBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SolrHttpClientBuilder
create()
SolrHttpClientBuilder.AuthSchemeRegistryProvider
getAuthSchemeRegistryProvider()
SolrHttpClientBuilder.CookieSpecRegistryProvider
getCookieSpecRegistryProvider()
SolrHttpClientBuilder.CredentialsProviderProvider
getCredentialsProviderProvider()
SolrHttpClientBuilder
setAuthSchemeRegistryProvider(SolrHttpClientBuilder.AuthSchemeRegistryProvider authSchemeRegistryProvider)
SolrHttpClientBuilder
setCookieSpecRegistryProvider(SolrHttpClientBuilder.CookieSpecRegistryProvider cookieSpecRegistryProvider)
SolrHttpClientBuilder
setDefaultCredentialsProvider(SolrHttpClientBuilder.CredentialsProviderProvider credentialsProviderProvider)
-
-
-
Method Detail
-
create
public static SolrHttpClientBuilder create()
-
setCookieSpecRegistryProvider
public final SolrHttpClientBuilder setCookieSpecRegistryProvider(SolrHttpClientBuilder.CookieSpecRegistryProvider cookieSpecRegistryProvider)
-
setDefaultCredentialsProvider
public final SolrHttpClientBuilder setDefaultCredentialsProvider(SolrHttpClientBuilder.CredentialsProviderProvider credentialsProviderProvider)
-
setAuthSchemeRegistryProvider
public final SolrHttpClientBuilder setAuthSchemeRegistryProvider(SolrHttpClientBuilder.AuthSchemeRegistryProvider authSchemeRegistryProvider)
-
getAuthSchemeRegistryProvider
public SolrHttpClientBuilder.AuthSchemeRegistryProvider getAuthSchemeRegistryProvider()
-
getCookieSpecRegistryProvider
public SolrHttpClientBuilder.CookieSpecRegistryProvider getCookieSpecRegistryProvider()
-
getCredentialsProviderProvider
public SolrHttpClientBuilder.CredentialsProviderProvider getCredentialsProviderProvider()
-
-