Package org.apache.solr.handler
Class SolrConfigHandler
java.lang.Object
org.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.SolrConfigHandler
- All Implemented Interfaces:
AutoCloseable,ApiSupport,SolrInfoBean,NestedRequestHandler,SolrMetricProducer,SolrRequestHandler,PermissionNameProvider,SolrCoreAware
public class SolrConfigHandler
extends RequestHandlerBase
implements SolrCoreAware, PermissionNameProvider
-
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 final booleanstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.solr.common.cloud.Replica> getActiveReplicas(ZkController zkController, String collection) getApis()Returns any (non-JAX-RS annotated) APIs associated with this request handler.Category of this componentSimple one or two line descriptionstatic booleangetImmutable(SolrCore core) getSubHandler(String path) Return a RequestHandler to handle a subpath from the path this handler is registered.voidvoidWhether this request handler must be made available at the /v2/ pathstatic StringMethods inherited from class org.apache.solr.handler.RequestHandlerBase
getInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, 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
getJerseyResources, registerV1Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close
-
Field Details
-
CONFIG_EDITING_ENABLED_ARG
- See Also:
-
configEditingEnabled
public static final boolean configEditingEnabled -
SET_PROPERTY
- See Also:
-
UNSET_PROPERTY
- See Also:
-
SET_USER_PROPERTY
- See Also:
-
UNSET_USER_PROPERTY
- See Also:
-
SET
- See Also:
-
UPDATE
- See Also:
-
CREATE
- See Also:
-
-
Constructor Details
-
SolrConfigHandler
public SolrConfigHandler()
-
-
Method Details
-
getReloadLock
-
handleRequestBody
- Specified by:
handleRequestBodyin classRequestHandlerBase- Throws:
Exception
-
inform
- Specified by:
informin interfaceSolrCoreAware
-
getImmutable
-
validateName
-
getSubHandler
Description copied from interface:NestedRequestHandlerReturn a RequestHandler to handle a subpath from the path this handler is registered.- Specified by:
getSubHandlerin interfaceNestedRequestHandler- Overrides:
getSubHandlerin classRequestHandlerBase
-
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
-
getActiveReplicas
public static List<org.apache.solr.common.cloud.Replica> getActiveReplicas(ZkController zkController, String collection) -
getPermissionName
- Specified by:
getPermissionNamein interfacePermissionNameProvider
-
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:
-
registerV2
Description copied from interface:ApiSupportWhether this request handler must be made available at the /v2/ path- Specified by:
registerV2in interfaceApiSupport
-