Class SolrJsonRequest

java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SolrJsonResponse>
org.springframework.data.solr.core.schema.SolrJsonRequest
All Implemented Interfaces:
Serializable

public class SolrJsonRequest extends org.apache.solr.client.solrj.SolrRequest<SolrJsonResponse>
Since:
1.3
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest

    org.apache.solr.client.solrj.SolrRequest.METHOD
  • Field Summary

    Fields inherited from class org.apache.solr.client.solrj.SolrRequest

    SUPPORTED_METHODS, useBinaryV2, usev2
  • Constructor Summary

    Constructors
    Constructor
    Description
    SolrJsonRequest(org.apache.solr.client.solrj.SolrRequest.METHOD method, String path)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    createResponse(org.apache.solr.client.solrj.SolrClient client)
     
     
    Collection<org.apache.solr.common.util.ContentStream>
     
    org.apache.solr.common.params.SolrParams
     
     

    Methods inherited from class org.apache.solr.client.solrj.SolrRequest

    addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SolrJsonRequest

      public SolrJsonRequest(org.apache.solr.client.solrj.SolrRequest.METHOD method, String path)
  • Method Details

    • getContentParser

      @Nullable public ContentParser getContentParser()
    • getParams

      public org.apache.solr.common.params.SolrParams getParams()
      Specified by:
      getParams in class org.apache.solr.client.solrj.SolrRequest<SolrJsonResponse>
    • getContentStreams

      public Collection<org.apache.solr.common.util.ContentStream> getContentStreams() throws IOException
      Overrides:
      getContentStreams in class org.apache.solr.client.solrj.SolrRequest<SolrJsonResponse>
      Throws:
      IOException
    • addContentToStream

      public void addContentToStream(Object content)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • createResponse

      protected SolrJsonResponse createResponse(org.apache.solr.client.solrj.SolrClient client)
      Specified by:
      createResponse in class org.apache.solr.client.solrj.SolrRequest<SolrJsonResponse>