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 interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.Name 
- 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group 
 - 
 
- 
Field Summary
Fields 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.RequestHandlerBase
appends, defaults, httpCaching, initArgs, invariants, solrMetricsContext 
- 
Fields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, values 
- 
Fields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SolrConfigHandler() 
- 
Method Summary
All 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.RequestHandlerBase
getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, handleRequest, init, initializeMetrics, setPluginInfo 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.apache.solr.api.ApiSupport
registerV1 
- 
Methods inherited from interface org.apache.solr.core.SolrInfoBean
getMetricRegistry, getMetricsSnapshot, registerMetricName 
- 
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close, initializeMetrics 
 - 
 
 - 
 
- 
- 
Field Detail
- 
CONFIGSET_EDITING_DISABLED_ARG
public static final String CONFIGSET_EDITING_DISABLED_ARG
- See Also:
 - Constant Field Values
 
 
- 
configEditing_disabled
public static final boolean configEditing_disabled
 
- 
SET_PROPERTY
public static final String SET_PROPERTY
- See Also:
 - Constant Field Values
 
 
- 
UNSET_PROPERTY
public static final String UNSET_PROPERTY
- See Also:
 - Constant Field Values
 
 
- 
SET_USER_PROPERTY
public static final String SET_USER_PROPERTY
- See Also:
 - Constant Field Values
 
 
- 
UNSET_USER_PROPERTY
public static final String UNSET_USER_PROPERTY
- See Also:
 - Constant Field Values
 
 
- 
SET
public static final String SET
- See Also:
 - Constant Field Values
 
 
- 
UPDATE
public static final String UPDATE
- See Also:
 - Constant Field Values
 
 
- 
CREATE
public static final String CREATE
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getReloadLock
public Lock getReloadLock()
 
- 
handleRequestBody
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Specified by:
 handleRequestBodyin classRequestHandlerBase- Throws:
 Exception
 
- 
inform
public void inform(SolrCore core)
- Specified by:
 informin interfaceSolrCoreAware
 
- 
getImmutable
public static boolean getImmutable(SolrCore core)
 
- 
getSubHandler
public 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 interfaceNestedRequestHandler- Overrides:
 getSubHandlerin classRequestHandlerBase
 
- 
getDescription
public String getDescription()
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
 getDescriptionin interfaceSolrInfoBean- Specified by:
 getDescriptionin classRequestHandlerBase
 
- 
getCategory
public SolrInfoBean.Category getCategory()
Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
 getCategoryin interfaceSolrInfoBean- Overrides:
 getCategoryin classRequestHandlerBase
 
- 
getActiveReplicaCoreUrls
public static List<String> getActiveReplicaCoreUrls(ZkController zkController, String collection)
 
- 
getPermissionName
public PermissionNameProvider.Name getPermissionName(AuthorizationContext ctx)
- Specified by:
 getPermissionNamein interfacePermissionNameProvider
 
- 
getApis
public Collection<Api> getApis()
Description copied from interface:ApiSupportIt is possible to support multiple v2 apis by a single requesthandler- Specified by:
 getApisin interfaceApiSupport- Overrides:
 getApisin classRequestHandlerBase- Returns:
 - the list of v2 api implementations
 
 
- 
registerV2
public Boolean registerV2()
Description copied from interface:ApiSupportWhether this request handler must be made available at the /v2/ path- Specified by:
 registerV2in interfaceApiSupport
 
 - 
 
 -