Package org.apache.solr.cloud
Class ConfigRequest
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<T>
-
- org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
-
- org.apache.solr.cloud.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
-
-
Constructor Summary
Constructors Constructor Description ConfigRequest(String message)
-
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 classorg.apache.solr.client.solrj.SolrRequest
-
getContentWriter
public org.apache.solr.client.solrj.request.RequestWriter.ContentWriter getContentWriter(String expectedType)
- Overrides:
getContentWriter
in classorg.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 classorg.apache.solr.client.solrj.SolrRequest
-
getRequestType
public String getRequestType()
- Specified by:
getRequestType
in classorg.apache.solr.client.solrj.SolrRequest
-
-