public class BasicAuthHttpSolrServer
extends org.apache.solr.client.solrj.impl.HttpSolrServer
HttpSolrServer which can add the basic authorization http header| Constructor and Description |
|---|
BasicAuthHttpSolrServer(String baseURL) |
BasicAuthHttpSolrServer(String baseURL,
org.apache.http.client.HttpClient client) |
BasicAuthHttpSolrServer(String baseURL,
org.apache.http.client.HttpClient client,
org.apache.solr.client.solrj.ResponseParser parser) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.client.methods.HttpRequestBase |
createMethod(org.apache.solr.client.solrj.SolrRequest request) |
add, addBeans, executeMethod, getBaseURL, getHttpClient, getInvariantParams, getParser, getQueryParams, httpUriRequest, httpUriRequest, isUseMultiPartPost, request, request, setAllowCompression, setBaseURL, setConnectionTimeout, setDefaultMaxConnectionsPerHost, setFollowRedirects, setMaxRetries, setMaxTotalConnections, setParser, setQueryParams, setRequestWriter, setSoTimeout, setUseMultiPartPost, shutdownadd, add, add, add, addBean, addBean, addBeans, addBeans, commit, commit, commit, deleteById, deleteById, deleteById, deleteById, deleteByQuery, deleteByQuery, getBinder, optimize, optimize, optimize, ping, query, query, queryAndStreamResponse, rollbackpublic BasicAuthHttpSolrServer(String baseURL)
public BasicAuthHttpSolrServer(String baseURL, org.apache.http.client.HttpClient client)
public BasicAuthHttpSolrServer(String baseURL, org.apache.http.client.HttpClient client, org.apache.solr.client.solrj.ResponseParser parser)
protected org.apache.http.client.methods.HttpRequestBase createMethod(org.apache.solr.client.solrj.SolrRequest request)
throws IOException,
org.apache.solr.client.solrj.SolrServerException
createMethod in class org.apache.solr.client.solrj.impl.HttpSolrServerIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionCopyright © 2015 Englishtown. All rights reserved.