Class UploadConfigSet
java.lang.Object
org.apache.solr.api.JerseyResource
org.apache.solr.handler.configsets.ConfigSetAPIBase
org.apache.solr.handler.configsets.UploadConfigSet
- All Implemented Interfaces:
ConfigsetsApi.Upload
-
Field Summary
Fields inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
configSetService, coreContainer, solrQueryRequest, solrQueryResponseFields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext -
Constructor Summary
ConstructorsConstructorDescriptionUploadConfigSet(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse) -
Method Summary
Modifier and TypeMethodDescriptionuploadConfigSet(String configSetName, Boolean overwrite, Boolean cleanup, InputStream requestBody) uploadConfigSetFile(String configSetName, String filePath, Boolean overwrite, Boolean cleanup, InputStream requestBody) Methods inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
createBaseNode, ensureConfigSetUploadEnabled, ensureNonEmptyInputStream, runConfigSetCommandMethods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
Constructor Details
-
UploadConfigSet
@Inject public UploadConfigSet(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Details
-
uploadConfigSet
public SolrJerseyResponse uploadConfigSet(String configSetName, Boolean overwrite, Boolean cleanup, InputStream requestBody) throws IOException - Specified by:
uploadConfigSetin interfaceConfigsetsApi.Upload- Throws:
IOException
-
uploadConfigSetFile
public SolrJerseyResponse uploadConfigSetFile(String configSetName, String filePath, Boolean overwrite, Boolean cleanup, InputStream requestBody) throws IOException - Specified by:
uploadConfigSetFilein interfaceConfigsetsApi.Upload- Throws:
IOException
-