Package org.apache.solr.handler.admin
Class ConfigSetsHandler
java.lang.Object
org.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.admin.ConfigSetsHandler
- All Implemented Interfaces:
AutoCloseable,ApiSupport,SolrInfoBean,NestedRequestHandler,SolrMetricProducer,SolrRequestHandler,PermissionNameProvider
A
SolrRequestHandler for ConfigSets API requests.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.handler.RequestHandlerBase
RequestHandlerBase.HandlerMetricsNested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.NameNested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic longprotected final CoreContainerstatic final StringFields inherited from class org.apache.solr.handler.RequestHandlerBase
aggregateNodeLevelMetricsEnabled, appends, defaults, httpCaching, initArgs, invariants, metrics, publishCpuTime, REQUEST_CPU_TIMER_CONTEXT, solrMetricsContext, SOURCE_ATTRFields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, valuesFields inherited from interface org.apache.solr.metrics.SolrMetricProducer
CATEGORY_ATTR, HANDLER_ATTR, NAME_ATTR, OPERATION_ATTR, PLUGIN_NAME_ATTR, RESULT_ATTR, TYPE_ATTRFields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionConfigSetsHandler(CoreContainer coreContainer) Overloaded ctor to inject CoreContainer into the handler. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetApis()Returns any (non-JAX-RS annotated) APIs associated with this request handler.Category of this componentSimple one or two line descriptionCollection<Class<? extends JerseyResource>> Returns any JAX-RS annotated v2 APIs associated with this request handler.static StringgetSuffixedNameForAutoGeneratedConfigSet(String configName) voidstatic booleanisAutoGeneratedConfigSet(String configName) Whether this request handler must be made available at the /v2/ pathMethods inherited from class org.apache.solr.handler.RequestHandlerBase
getInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, isInternalShardRequest, processErrorMetricsOnException, processReceivedException, setPluginInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.api.ApiSupport
registerV1Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close
-
Field Details
-
DEFAULT_CONFIGSET_NAME
- See Also:
-
AUTOCREATED_CONFIGSET_SUFFIX
- See Also:
-
coreContainer
-
CONFIG_SET_TIMEOUT
public static long CONFIG_SET_TIMEOUT
-
-
Constructor Details
-
ConfigSetsHandler
Overloaded ctor to inject CoreContainer into the handler.- Parameters:
coreContainer- Core Container of the solr webapp installed.
-
-
Method Details
-
getSuffixedNameForAutoGeneratedConfigSet
-
isAutoGeneratedConfigSet
-
handleRequestBody
- Specified by:
handleRequestBodyin classRequestHandlerBase- Throws:
Exception
-
checkErrors
protected void checkErrors() -
getDescription
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
getDescriptionin interfaceSolrInfoBean- Specified by:
getDescriptionin classRequestHandlerBase
-
getCategory
Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
getCategoryin interfaceSolrInfoBean- Overrides:
getCategoryin classRequestHandlerBase
-
registerV2
Description copied from interface:ApiSupportWhether this request handler must be made available at the /v2/ path- Specified by:
registerV2in interfaceApiSupport
-
getApis
Description copied from interface:ApiSupportReturns any (non-JAX-RS annotated) APIs associated with this request handler.- Specified by:
getApisin interfaceApiSupport- Overrides:
getApisin classRequestHandlerBase- See Also:
-
getJerseyResources
Description copied from interface:ApiSupportReturns any JAX-RS annotated v2 APIs associated with this request handler.- Specified by:
getJerseyResourcesin interfaceApiSupport- See Also:
-
getPermissionName
- Specified by:
getPermissionNamein interfacePermissionNameProvider
-