Class ConfigRequest

java.lang.Object
org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.SolrResponse>
org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<org.apache.solr.client.solrj.SolrResponse>
org.apache.solr.cloud.ConfigRequest
All Implemented Interfaces:
Serializable

public class ConfigRequest extends org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<org.apache.solr.client.solrj.SolrResponse>
A class for making a request to the config handler. Tests can use this e.g. to add custom components, handlers, parsers, etc. to an otherwise generic configset.
See Also:
  • Nested Class Summary

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

    org.apache.solr.client.solrj.SolrRequest.ApiVersion, org.apache.solr.client.solrj.SolrRequest.METHOD, org.apache.solr.client.solrj.SolrRequest.SolrClientContext, org.apache.solr.client.solrj.SolrRequest.SolrRequestType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     

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

    SUPPORTED_METHODS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.solr.client.solrj.SolrResponse
    createResponse(org.apache.solr.common.util.NamedList<Object> client)
     
    org.apache.solr.client.solrj.request.RequestWriter.ContentWriter
    getContentWriter(String expectedType)
     
    org.apache.solr.common.params.SolrParams
     

    Methods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest

    requiresCollection

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

    addHeader, addHeaders, getApiVersion, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getRequestType, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • message

      protected final String message
  • Constructor Details

    • ConfigRequest

      public ConfigRequest(String message)
  • Method Details

    • getParams

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

      public org.apache.solr.client.solrj.request.RequestWriter.ContentWriter getContentWriter(String expectedType)
      Overrides:
      getContentWriter in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.SolrResponse>
    • createResponse

      public org.apache.solr.client.solrj.SolrResponse createResponse(org.apache.solr.common.util.NamedList<Object> client)
      Specified by:
      createResponse in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.SolrResponse>