public class PreemptiveBasicAuthConfigurer extends HttpClientConfigurer
Modifier and Type | Field and Description |
---|---|
static String |
SYS_PROP_BASIC_AUTH_CREDENTIALS
A system property to configure the Basic auth credentials via a java system property.
|
static String |
SYS_PROP_HTTP_CLIENT_CONFIG
A system property used to specify a properties file containing default parameters used for
creating a HTTP client.
|
Constructor and Description |
---|
PreemptiveBasicAuthConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.http.impl.client.DefaultHttpClient httpClient,
SolrParams config) |
static void |
setDefaultSolrParams(SolrParams params)
This method enables configuring system wide defaults (apart from using a config file based approach).
|
toBooleanDefaultIfNull, toBooleanObject
public static final String SYS_PROP_HTTP_CLIENT_CONFIG
public static final String SYS_PROP_BASIC_AUTH_CREDENTIALS
public static void setDefaultSolrParams(SolrParams params)
public void configure(org.apache.http.impl.client.DefaultHttpClient httpClient, SolrParams config)
configure
in class HttpClientConfigurer
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.