Class ConfigRequest

  • All Implemented Interfaces:
    Serializable

    public class ConfigRequest
    extends org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
    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:
    Serialized Form
    • Nested Class Summary

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

        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 String message  
      • Fields inherited from class org.apache.solr.client.solrj.SolrRequest

        SUPPORTED_METHODS, useBinaryV2, usev2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.solr.client.solrj.SolrResponse createResponse​(org.apache.solr.client.solrj.SolrClient client)  
      org.apache.solr.client.solrj.request.RequestWriter.ContentWriter getContentWriter​(String expectedType)  
      org.apache.solr.common.params.SolrParams getParams()  
      String getRequestType()  
      • Methods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest

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

        addHeader, addHeaders, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
    • Field Detail

      • message

        protected final String message
    • Constructor Detail

      • ConfigRequest

        public ConfigRequest​(String message)
    • Method Detail

      • getParams

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

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

        public org.apache.solr.client.solrj.SolrResponse createResponse​(org.apache.solr.client.solrj.SolrClient client)
        Specified by:
        createResponse in class org.apache.solr.client.solrj.SolrRequest
      • getRequestType

        public String getRequestType()
        Specified by:
        getRequestType in class org.apache.solr.client.solrj.SolrRequest