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.RequestHandlerBaseRequestHandlerBase.HandlerMetrics
 - 
Nested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProviderPermissionNameProvider.Name
 - 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBeanSolrInfoBean.Category, SolrInfoBean.Group
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static booleanconfigEditing_disabledstatic StringCONFIGSET_EDITING_DISABLED_ARGstatic StringCREATEstatic StringSETstatic StringSET_PROPERTYstatic StringSET_USER_PROPERTYstatic StringUNSET_PROPERTYstatic StringUNSET_USER_PROPERTYstatic StringUPDATE- 
Fields inherited from class org.apache.solr.handler.RequestHandlerBaseaggregateNodeLevelMetricsEnabled, appends, defaults, httpCaching, initArgs, invariants, metrics, solrMetricsContext
 - 
Fields inherited from interface org.apache.solr.security.PermissionNameProviderANY, NULL, values
 - 
Fields inherited from interface org.apache.solr.request.SolrRequestHandlerTYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SolrConfigHandler()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<String>getActiveReplicaCoreUrls(ZkController zkController, String collection)Collection<Api>getApis()It is possible to support multiple v2 apis by a single requesthandlerSolrInfoBean.CategorygetCategory()Category of this componentStringgetDescription()Simple one or two line descriptionstatic booleangetImmutable(SolrCore core)PermissionNameProvider.NamegetPermissionName(AuthorizationContext ctx)LockgetReloadLock()SolrRequestHandlergetSubHandler(String path)Return a RequestHandler to handle a subpath from the path this handler is registered.voidhandleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)voidinform(SolrCore core)BooleanregisterV2()Whether this request handler must be made available at the /v2/ pathstatic StringvalidateName(String s)- 
Methods inherited from class org.apache.solr.handler.RequestHandlerBasegetInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, handleRequest, init, initializeMetrics, setPluginInfo
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.api.ApiSupportregisterV1
 - 
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducerclose
 
- 
 
- 
- 
- 
Field Detail- 
CONFIGSET_EDITING_DISABLED_ARGpublic static final String CONFIGSET_EDITING_DISABLED_ARG - See Also:
- Constant Field Values
 
 - 
configEditing_disabledpublic static final boolean configEditing_disabled 
 - 
SET_PROPERTYpublic static final String SET_PROPERTY - See Also:
- Constant Field Values
 
 - 
UNSET_PROPERTYpublic static final String UNSET_PROPERTY - See Also:
- Constant Field Values
 
 - 
SET_USER_PROPERTYpublic static final String SET_USER_PROPERTY - See Also:
- Constant Field Values
 
 - 
UNSET_USER_PROPERTYpublic static final String UNSET_USER_PROPERTY - See Also:
- Constant Field Values
 
 - 
SETpublic static final String SET - See Also:
- Constant Field Values
 
 - 
UPDATEpublic static final String UPDATE - See Also:
- Constant Field Values
 
 - 
CREATEpublic static final String CREATE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getReloadLockpublic Lock getReloadLock() 
 - 
handleRequestBodypublic void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception - Specified by:
- handleRequestBodyin class- RequestHandlerBase
- Throws:
- Exception
 
 - 
informpublic void inform(SolrCore core) - Specified by:
- informin interface- SolrCoreAware
 
 - 
getImmutablepublic static boolean getImmutable(SolrCore core) 
 - 
getSubHandlerpublic SolrRequestHandler getSubHandler(String path) Description copied from interface:NestedRequestHandlerReturn a RequestHandler to handle a subpath from the path this handler is registered.- Specified by:
- getSubHandlerin interface- NestedRequestHandler
- Overrides:
- getSubHandlerin class- RequestHandlerBase
 
 - 
getDescriptionpublic String getDescription() Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
- getDescriptionin interface- SolrInfoBean
- Specified by:
- getDescriptionin class- RequestHandlerBase
 
 - 
getCategorypublic SolrInfoBean.Category getCategory() Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
- getCategoryin interface- SolrInfoBean
- Overrides:
- getCategoryin class- RequestHandlerBase
 
 - 
getActiveReplicaCoreUrlspublic static List<String> getActiveReplicaCoreUrls(ZkController zkController, String collection) 
 - 
getPermissionNamepublic PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx) - Specified by:
- getPermissionNamein interface- PermissionNameProvider
 
 - 
getApispublic Collection<Api> getApis() Description copied from interface:ApiSupportIt is possible to support multiple v2 apis by a single requesthandler- Specified by:
- getApisin interface- ApiSupport
- Overrides:
- getApisin class- RequestHandlerBase
- Returns:
- the list of v2 api implementations
 
 - 
registerV2public Boolean registerV2() Description copied from interface:ApiSupportWhether this request handler must be made available at the /v2/ path- Specified by:
- registerV2in interface- ApiSupport
 
 
- 
 
-