| Package | Description | 
|---|---|
| org.apache.solr.client.solrj | Primary APIs for communicating with a Solr Server from a Java client. | 
| org.apache.solr.client.solrj.impl | Concrete implementations of client API classes. | 
| org.apache.solr.client.solrj.request | Convenience classes for dealing with various types of Solr requests. | 
| org.apache.solr.client.solrj.response | Convenience classes for dealing with various types of Solr responses. | 
| Modifier and Type | Method and Description | 
|---|---|
| ResponseParser | SolrRequest. getResponseParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SolrRequest. setResponseParser(ResponseParser responseParser)Optionally specify how the Response should be parsed. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BinaryResponseParser | 
| class  | InputStreamResponseParserSimply puts the InputStream into an entry in a NamedList named "stream". | 
| class  | NoOpResponseParserSimply puts the entire response into an entry in a NamedList. | 
| class  | StreamingBinaryResponseParserA BinaryResponseParser that sends callback events rather then build
 a large response | 
| class  | XMLResponseParser | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ResponseParser | LBSolrClient. parser | 
| protected ResponseParser | HttpSolrClient. parserDefault response parser is BinaryResponseParser | 
| protected ResponseParser | SolrClientBuilder. responseParser | 
| Modifier and Type | Method and Description | 
|---|---|
| ResponseParser | BaseCloudSolrClient. getParser() | 
| ResponseParser | Http2SolrClient. getParser() | 
| ResponseParser | LBSolrClient. getParser() | 
| ResponseParser | HttpSolrClient. getParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected NamedList<Object> | HttpSolrClient. executeMethod(org.apache.http.client.methods.HttpRequestBase method,
             Principal userPrincipal,
             ResponseParser processor,
             boolean isV2Api) | 
| HttpSolrClient.HttpUriRequestResponse | HttpSolrClient. httpUriRequest(SolrRequest request,
              ResponseParser processor) | 
| NamedList<Object> | HttpSolrClient. request(SolrRequest request,
       ResponseParser processor) | 
| NamedList<Object> | HttpSolrClient. request(SolrRequest request,
       ResponseParser processor,
       String collection) | 
| void | ConcurrentUpdateSolrClient. setParser(ResponseParser responseParser) | 
| void | BaseCloudSolrClient. setParser(ResponseParser processor)Note: This setter method is not thread-safe. | 
| void | Http2SolrClient. setParser(ResponseParser processor) | 
| void | LBSolrClient. setParser(ResponseParser parser)Changes the  ResponseParserthat will be used for the internal
 SolrServer objects. | 
| void | HttpSolrClient. setParser(ResponseParser processor)Note: This setter method is not thread-safe. | 
| B | SolrClientBuilder. withResponseParser(ResponseParser responseParser)Provides a  ResponseParserfor created clients to use when handling requests. | 
| Constructor and Description | 
|---|
| DelegationTokenHttpSolrClient(String baseURL,
                             org.apache.http.client.HttpClient client,
                             ResponseParser parser,
                             boolean allowCompression,
                             ModifiableSolrParams invariantParams)Deprecated. 
 use  DelegationTokenHttpSolrClient(HttpSolrClient.Builder)instead, as it is a more
 extension/subclassing-friendly alternative | 
| HttpSolrClient(String baseURL,
              org.apache.http.client.HttpClient client,
              ResponseParser parser,
              boolean allowCompression)Deprecated. 
 use  HttpSolrClient(Builder)instead, as it is a more extension/subclassing-friendly alternative | 
| HttpSolrClient(String baseURL,
              org.apache.http.client.HttpClient client,
              ResponseParser parser,
              boolean allowCompression,
              ModifiableSolrParams invariantParams)Deprecated. 
 use  HttpSolrClient(Builder)instead, as it is a more extension/subclassing-friendly alternative | 
| LBHttpSolrClient(org.apache.http.client.HttpClient httpClient,
                ResponseParser parser,
                String... solrServerUrl)Deprecated. 
 use  LBHttpSolrClient(Builder)instead, as it is a more extension/subclassing-friendly alternative | 
| Modifier and Type | Method and Description | 
|---|---|
| ResponseParser | V2Request. getResponseParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| V2Request.Builder | V2Request.Builder. withResponseParser(ResponseParser parser) | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DelegationTokenResponse.JsonMapResponseParserResponseParser for JsonMaps. | 
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.