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
public class UploadConfigSet extends ConfigSetAPIBase implements ConfigsetsApi.Upload
-
-
Field Summary
-
Fields inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
configSetService, coreContainer, distributedCollectionConfigSetCommandRunner, solrQueryRequest, solrQueryResponse
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description UploadConfigSet(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrJerseyResponseuploadConfigSet(String configSetName, Boolean overwrite, Boolean cleanup, InputStream requestBody)SolrJerseyResponseuploadConfigSetFile(String configSetName, String filePath, Boolean overwrite, Boolean cleanup, InputStream requestBody)-
Methods inherited from class org.apache.solr.handler.configsets.ConfigSetAPIBase
createBaseNode, ensureConfigSetUploadEnabled, ensureNonEmptyInputStream, isTrusted, runConfigSetCommand
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
UploadConfigSet
@Inject public UploadConfigSet(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Detail
-
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
-
-